rudym88 Posted August 23, 2019 Posted August 23, 2019 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.
comment Posted August 23, 2019 Posted August 23, 2019 (edited) 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: 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 August 23, 2019 by comment
JMart Posted September 4, 2019 Posted September 4, 2019 (edited) 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. 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 Thanks for your rudy Edited September 4, 2019 by JMart
comment Posted September 4, 2019 Posted September 4, 2019 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.
Recommended Posts
This topic is 1907 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now