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

Hi guys,

Hopping someone can tell me what i am doing wrong; 

All i want is a message if "Start Field" is greater than "end Field" and vice versa 

Attempt 1

Validate field during data entry

WTS v2.0::DeliveryMilesStart > WTS v2.0::DeliveryMilesEnd

Display message if condition are not met

Conditional format to change color to red

Issue: validation not work but conditional format is (using the same formula for both format and validation

Attempt 2

Script: 

if [WTS v2.0::DeliveryMilesStart > WTS v2.0::DeliveryMilesEnd]

Show customer dialog [message]

clear [select entire contents \ target field: DeliveryMilesStart)

go to field [DeliveryMilesStart

issue it work clearing the content of the field but it does not go back to the correct field but it jumps to the end field

Attemp 2 i have tried using both on exit and validation trigger.

 

Any help is greatly appreciated

Thanks

Rudy. 

If you're happy with the built-in validation error message, then validate one of the fields by calculation, and make sure to uncheck this option:

image.png.70424877d2db802c32769e97ca910c5a.png 

 

If you prefer to use a script trigger upon exiting the field, make sure the script returns a false result when the validation fails; otherwise the triggering event will be executed after the script has run.

 

 

Edited by comment

  • 2 weeks later...
  • Author

Thanks

Works great.

I have another question along the same validation lines.

i have a field: kDocumentNumber - "Unique value" is checked

and i have the field on the layout is set to trigger on exit i cant get the window to show with either script.

 

image.png.54a3431076d573cfaaaaada5970987a8.png

image.png.9ac3b6c1e4bcdc429f2e8c2b00e5ecd8.png

I cant get it to show the new window with either script.

The idea is if there value exist it will show a custom window

image.png.91df3063fee09a5540a0978ed5d7d854.png

Thanks for your 

rudy

Edited by JMart

9 minutes ago, JMart said:

I have another question along the same validation lines.

I don't see how this is related to the original question. I suggest you start a new thread - and make sure we can see what you're doing before you capture the error.

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.