onChange Script (revert back)

Graham18
Giga Expert

Hi All,

When using an onChange client script for example a true false field, how do you make it revert back when the value has been changed back to its original.

As it stands my script will work but wont revert back when the value has changed back to what it was before.

i'm sure its something simple

Regards,

Graham

6 REPLIES 6

Old script is not a very good idea to do this as , if i remember correctly, old value changes only after 'save' operation. Using a UI policy that runs onchange and using reverse if false should work better


-Anurag

So if that's the case can you capture the existing values as variables in order set them back as needed regardless of how often the target field is changed?