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.

ScriptTriggers to prevent modification of fields (radio buttons / check boxes)

Featured Replies

I can prevent modification of individual text fields on a layout by using the OnObjectEnter ScriptTrigger to sense when the user enters a particular field to redirect the user.

This doesn't work with radio button or check box fields because these fields are already modified by the time the OnObjectEnter ScriptTrigger fires.

How can I prevent modification of individual fields (especially radio-button/check-box fields) of a layout without using record locks?

Hi jansenw,

Have you considered just using field control Behavior and disallow entry in Browse or Find mode on that particular example of the field? Of course you'll have to provide SOME way SOME time to allow modification (on different layout) but you haven't said when or why you want to prohibit entry. :wink2:

LaRetta

I would strongly discourage trying to turn event triggers into data validation vehicles. Remember that even if an event is attached to a field on a layout, that any other instance of that field is not covered by that event trigger.

Steven

  • Author

Thanks for your advice.

Do you have a recommendation on how to limit the modification (not using record locking) of a check box field on a layout? The modification lock is based on another field in the same record.

You can prevent subsequent modification of a field once it has been modified the first time by setting up a test in the validation tab of the field's definition.

Steven

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.