Skip 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.

Script Parameter & Target Field

Featured Replies

  • Newbies

Is there any way to use a script parameter to specify the target field of a script step?

Thanks

Absolutely! Just make your script parameter a calculation based on whatever logic is required to determine the target field.

  • Author
  • Newbies

In actuality the script parameter is the target field. Where I get stuck is that it seems all script steps require that target field is statically assigned when the script is put together.

Thanks

In actuality the script parameter is the target field. Where I get stuck is that it seems all script steps require that target field is statically assigned when the script is put together.

The target field can be dynamically assigned in a script but not a calculation. What is it exactly you'd like to accomplish? Do you have an example file?

Edited by Guest
Misread question, corrected my response

If it's getting the value is it the calc:

GetField ( Quote ( Get ( ScriptParameter ) ))

If it's getting the cursor into the correct field:

Go to Field [  ] [ Select/perform ] 

Go to Next Field 

Loop 

Exit Loop If [ Get ( ActiveFieldName ) = Get ( ScriptParameter ) ] Go to Next Field 

End Loop

Obviously requirering a layout containing the fieldname!!!

--sd

Or hardcode it:

If [ get(scriptparameter) = "First Name" ]

Set Field [ First Name ; ]

Else If [ get(scriptparameter) = "Last Name" ]

Set Field [ Last Name ; ]

Else If [ get(scriptparameter) = "Address" ]

Set Field [ Address ; ]

...

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.