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 am trying to achieve following:

I use a field as a button. I want to attach a script to it that will take the value of that field and set it as a global variable.

I want to be able to attach said script to couple of fields but I do not want to hard code the field names into the calculation.

Something like:

Name: $$Field_Name

Value: Get (ActiveFieldContents)

I need that script to set the value of the field as a variable.

Basically I would like to do this if it makes sense and if it is possible.

Script_I

Set Variable [$$Layout_Name; Value Get (ActiveFieldContents)]

Script_II

Perform Script ["Script_I"]

Go to Layout [$$Layout_Name]

I just do not know how to specify via calculation or how to tell the script that the field I clicked on is the field whose data I want to pull into $$Layout_Name Variable and I do not know if that is even possible.

Hope this makes sense.

Thanks for the help.

  • Author

I just saw this in FM help:

There is a named button on the current layout called cancelButton. When the button is selected, Get(ActiveLayoutObjectName) returns cancelButton.

I tried this but cannot get it to work. I thought that it might work by setting Get(ActiveLayoutObjectName) as a script parameter so that when a button is clicked it becomes active layout object so its name would be passed in the script but I cannot get it to work.

Guess one more thing to giveup on...

  • Author

Never Mind, just set a Script Parameter to equals the button name.

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.