I have a form where I want to do a five to nine zip code; if the user
inputs anything else, it is will be deemed invalid and the field will be
empty when the user presses "enter."So far, in the change event, I have
the following script that only allows 9 digits, meaning the user cannot
input more than 9 digits: var maxLength = 9; if(xfa.event.newText.length
>maxLength)xfa.event.change = "";Then in the exit event, I have the
following script that only allows numerical
digits:if(this.rawValue==nul...