Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Hi,

I'm currently working on a offer generator that imports some template text into each field. Sometimes the user needs to erase all info on one given tab.

[color:red]How do I identify the fields on that tab and how do I erase text in multiple fields ?

(there are different number of fields on each tab - anything from 2-10 fields).

I could of course make a script for every tab using "insert text" or "replace text"

2, but since the whole solution contains almost 70 tabs on different layouts it seems silly to make that many scripts.

Logically it should be something like this:

Identify all txt fields within selected tab

Erase all text in selected/identified fields

I hope someone are able to help me or point me in the right direction on what commands to use.

Let's say you give each tab panel an object name, and also assign object names to all the fields on the tab panel.

If you pass the tab object name as your script parameter, the following function will give you a list of the fields:

GetLayoutObjectAttribute( Get ( ScriptParameter ) ; "containedObjects" )

You could then use ValueCount and GetValue to loop through the list, go to each field and set it to empty ("").

  • 1 month later...
  • Author

Hi,

Thanks, somehow i missed your reply earlier. I'll try out what you say - it was a good tip.

Regards,

HJP

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.