Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Question on validation

$
0
0

Hi Guys,

 

I have been trying out Adobe livecycle ES4 designer. I am wondering if it possible to reject the value that the user has input in a numeric/decimal field after it has fail a custom javascript validation. For example, the field has a boundary validation from 1 to 1000 and its original value of 10. The user changes the value of the field to 1111, the current behavior is such that there will be a  validation error message however the value 1111 is still "accepted", Is it  possible to revert the value to 10 once the new value fails the validation.  i have tried using xfa.event.prevText and xfa.event.newText, however at the validate event, both xfa.event.newText and xfa.event.prevText return empty,


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>