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.

How do you make fields required?

Featured Replies

I am publishing a simple input only database on an intranet. I am using the connection assistant with Claris home page to generate my pages. How do I make a field a required field? I don't really need to validate the type of information but just that something was entered.

in FM use the validation in the define fields option and choose "Not Empty."

Technically you are validating it. This is all you have to do.

The post from "yafreax" pretty much sums it up: use FMP's field validation.

Adding on to their advice, to make the web solution slightly more elegant and useable it is worth noting that when the validatin fails, web companion will return the "error" page to the user. The error pages created by Home Page's FMP Connection Assistant are pretty basic, and the message they will get will probably be nothing more than "there has been an error, error XXXX" where XXX is the exact error code (take a note of what it is BTW).

What you could do is use an [FMP-IF] on the error page that traps for the particular error and presents them with a more appropriate message, like "Please make sure the YYYY field has a value entered. Use your browser's BACK button to return to the form."

The exact error value returned depends on the validation that you use in FMP. For a complete listing of error codes, go to FMP Help and print out the info for the Status(CurrentError) function.

For instance, if the field has "Not Empty" validation in FMP then error 509 will probably be returned.

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.