AnsweredAssumed Answered

Script to validate multiple fields

Question asked by Badam on May 7, 2014
Latest reply on May 7, 2014 by philmodjunk


Script to validate multiple fields


     I am writing a script that validates a number that is entered between 0 and 255 and show a message if it is not within that range. I want to use this script for many different fields via a script trigger.

     I know that I could define the field with validation and display a message but the “Revert Field “ button on that message means nothing to my users, so I want to make the message less confusing and more user friendly.

     Is there a script step that captures the value from whichever field this script was triggered from? (I am thinking the best approach is using a script trigger to run this “validate” script)