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.

Field Validation

Featured Replies

  • Newbies

Hello

 

How do set up a field validation for the following scenario:

 

Field A - Drop-down list with "Good" and "Poor"

Field B - Comment text field

 

Can I force the user to enter a comment in Field B if Field A is "Poor"? 

 

I am pulling my hair out, I must be missing something in the calculation to validate the field .

 

Thanks for the help 

Can I force the user to enter a comment in Field B if Field A is "Poor"?

 

Try validating Field B by a calculation =

not ( IsEmpty ( Self ) and Field A = "Poor" )

Deselect the 'Validate only if field has been modified' option.

  • Author
  • Newbies

That work thanks

 

Is this still valid if I were to insert an "or" statement:

not ( IsEmpty ( Self ) and Field A = "Poor" or "Bad" )

It may be valid, but it won't do what you think it does. Try =

not ( IsEmpty ( Self ) and ( Field A = "Poor" or Field A = "Bad" ) )

Note the extra set of parentheses required because and comes before or in the default order of evaluation.

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.