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.

Cell Validation

Featured Replies

I have a form in which users must enter data into a series of fields. I want to make sure that users have to enter information into all relevant fields. It should work as follows;

If a user enters data into "field 2" they must also complete "field 1".

At the moment many users are not doing this. Can anyone suggest a solution?

  • Author

I have a form in which users must enter data into a series of fields. I want to make sure that users have to enter information into all relevant fields. It should work as follows;

If a user enters data into "field 2" they must also complete "field 1".

At the moment many users are not doing this. Can anyone suggest a solution?

In define fields for field 2 validation try something like:

Case ( Count (Field 1) ;

Case ( Count (Field 2) ; 1 ; 0 ) ;

1

)

The first case looks for anything in field 1, if so then looks for something in field 2, if so returns a 1, if not a 0. If nothing in Field 1 a zero is returned, unless both fields are empty nothing is returned, which works also. I'm sure a real programmer could present a much more elegant method.

Hi,

What about validating field2 with a calculation

not IsEmpty(field1)

strict + message inviting the users to enter a value in field1

  • Author

Edit: Spoke too soon.

Validation does not fail if the conditions are not met, therefore the user can still get away with not entering data in field 1, when they have entered data into field 2.

Maybe I've missed something........

Oops, I had it backwards, switch field1 for field2, I like Ugo's much better though.

  • Author

Oops, I had it backwards, switch field1 for field2, I like Ugo's much better though.

Thats great now, thanks for that!!

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

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.