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.

Calc: If Validation fails...

Featured Replies

I have got a global field for the user to select from a drop down menu. I can't deny access to them because the field needs to be accessed in order to use the drop down menu. If the user clicks twice within the field, they can actually enter a value that is not on the value list. I have validation setup so that if this occurs, the user receives a message. I don't like the message.

Isn't there a calculation that I can run as part of a script trigger that basically says;

If field is modified to a a value that is not part of the value list, revert field?

Thanks so much for your help in advance and have a fab day.

In the Fields tab of Manage Database, press the Options button, then click the Validation tab. You will see a Member of Value List checkbox.

  • Author

Yes, I have already set the field to be validated. However, I dont want the user having to be prompted with the default or custom validation popup and being asked to press 'Revert field. Isn't there a script I can use that will suppress the validation failed popup and revert the field to what it was without user interaction?

Thanks again.

Hi Maria,

Field-level validation is important for ultimate protection but you can add script trigger using OnObjectValidate to act on the failure first. Read up on it in Help. :-)

  • Author

Yeh that was what I was looking for. A quick script trigger to simply 'Undo0 upon validation fail.

thanks so much

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.