- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
The best way to handle your situation is to store the value of your field in a variable when the user enters the field (ie before they change the value of the field).
For instance, say your variable is 'storeValue', you would put in the enter event of your field, storeValue.value=this.rawValue.
If your validation fails, you would script this.rawValue=storeValue.value;
There are other scripting methods for undoing events that are more complex but can go a long way. Here is one by John Brinkman: http://blogs.adobe.com/formfeed/Samples/scopeSample1.pdf
Kyle
Views
Replies
0 Likes
Total Likes