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.

Validation Message - Minus the OK Bautton

Featured Replies

I have a strict validation set up a that tells the user he cannot change that field. However, the Validation message comes up wiht two buttons - 'Revert Field' and 'OK'. 'OK' does nothing and only the 'Revert Field' should be visible and selectable. Is there any way to get rid of the 'OK' button?

Thanks so much and have a great day!

OK does do something: it returns the user to the field and allows them to change the value to something else.

There is no way to modify the dialog. However the new onValidate script trigger in FMP 12 lets you create a custom dialog that gets displayed before the native dialog.

the new onValidate script trigger in FMP 12

That would be 11.

If the field cannot be modified then why not restrict the access to the field instead?

Personally I don't use validation on fields - always by script!

  • Author

Nice thinking. Script trigger on Validate;

Undo

Commit Records

Works nicely.

BTW, field access is necessary for drop down list in order to navigate through layouts, but text inside field (From Value list) cannot be modified as that points the script to the right layout via LAyout by calculation.

Thanks again.

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.