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.

Error Capture a unique field validation??

Featured Replies

Is it possible to error capture the error code for a unique field validation.? I know the code is 504 but I have had no luck in capturing the error.

What I am trying to do is produce my own error messge for non unique field entries. I don't like the built in unique error message. It still allows the user to input a non unique entry, which I don't want.

Can anyone help?

Thanks

Which version of FMP are you using? Because what you are saying is simply not right.

When you set up your field and go to the validations window, simply enter that the value must be unique, and then select the options at the bottom of the window: “Strict – do not allow user to override validation” & “show custom message if validation fails” Then the user is presented with your message, and only the options “OK” which takes him back to the field to change his entry, or “Reset” which returns the field to its original value. There are some ways of getting around FMP validations for experienced users, but I wouldn’t worry too much about that.

Hope this helps.

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.