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 can you validate field data based on another?

Featured Replies

How can you make sure the data of a field is in a certain format based on another field?

I have 2 fields: "Company" and "Employee ID". If Company=1, then the employee ID must begin with 3 letters. If the Company=2, then the employee ID must have 9-10 digits and end with one letter.

Is there a way to specify the "Employee ID" field to make sure that the correct data is put in based on the "Company" field?

Any help would be greatly appreciated.

Thank you! confused.gif

Validate using Choose( Company - 1; Length(Filter( Upper(Left( Employee ID; 3 )); "ABCDEFGHIJKLMNOPQRSTUVWXYZ" )) = 3; PatternCount( " 9 10 "; " " & Length(Employee ID) & " " ) and not GetAsNumber(Substitute( Right( EmployeeID; 1 ); 0; 1 )) )

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.