onChange Script (revert back)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2015 08:26 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-08-2015 10:46 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-08-2015 12:14 PM
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?