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.

Getting the name of the field the user has clicked

Featured Replies

A field has a button applied to it. The first thing I want the button to do when the user clicks it is to record the name of the field. How can I do this?

[color:red]Get ( ActiveFieldName ) or [color:red]Evaluate ( Get ( ActiveFieldName ) ) fail to return any value for me.

The field is set to allow entry in browse mode.

Many thanks in advance.

If the field is a button, it does not become active by clicking on it. You can use the script parameter, though.

  • Author

Thanks for the explanation. Very helpful. But using the scriptparameter doesn't seem to do the trick. I still can't get anything from Get ( ActiveFieldName ).

I have hundreds of these buttons to create, and need a method that doesn't require me to hard code the field names!

Make your field a "button" by using an OnObjectEnter script trigger. Get(ActiveFieldName) will work then.

You can't get anything from Get ( ActiveFieldName ) because no field is active. Setting a field as a button prevents user from entering the field.

I have hundreds of these buttons to create, and need a method that doesn't require me to hard code the field names!

Perhaps you could use an OnObjectEnter script trigger. But if you need "hundreds of buttons" you probably should re-examine your entire approach.

  • Author

Brill!!! And you can apply this to many fields at the same time, unlike buttons I think.

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.