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.

Field validation and layouts

Featured Replies

I have a database with a series of layouts that are worked through in sequence when entering data. In the last layout, there are 3 fields with a "not empty" validation option. The problem is that as I enter new data into one of the earlier layouts, I am constantly getting a validation error message telling me to change layouts and fill in the fields that require a value.

I only want this validation error message to come up when I am actually in the layout that contains the validated fields. Is this possible to do?

Thanks in advance.

Cooperj

You might want to add the following to the validation calculation:

Case (Status(CurrentLayoutName) = "LayoutName", <Validation Calculation Here>, 1)

Where LayoutName is the name of the layout you want the fields validated on. I haven't tested this, so let me know how it goes.

  • Author

Thanks Peter for the suggestion, but I couldn't get it to work. I am not using any validation calculations - just ticking the "non-empty" option in the validation dialog box. The fields are yes/no fields. Could you suggest a validation calculation that might fit?

Thanls again for ypur help.

Cooperj

Case(Status(CurrentLayoutName) = "Validate", not IsEmpty(Field), 1)

Where Validate is the name of the layout you want validation to take effect on, and Field is the name of the field you are validating. I found it helpful in my tests to have 'validate only if field has been modifed' unchecked.

Hope this helps.

  • Author

Peter, you're a marvel. Thanks for your help.

Cooperj

My pleasure, cooperj

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.