AnsweredAssumed Answered

script to insure 2 fields match

Question asked by BillPlunkett on Feb 7, 2013
Latest reply on Feb 7, 2013 by philmodjunk

Title

script to insure 2 fields match

Post

     I have a layout that has 2 fields that must match exactly like sites use to verify a password was entered twice the same way.  Simple enough.  I have a script that executes when field1 is exited that "goes to field" field2.  When they exit field1 I don't want them to be able to go anywhere but field2.

     I have a script that executes when field2 is exited that displays a dialog box stating the errorif the 2 fields don't match.  Only an OK button is available.  The next step "goes to field" field1.  So far so good.  Buy when in field1 you can click into another field and skip the verify field.  How can I limit field navigation to only those 2 fields until they match?

     thanks,

     bill

Outcomes