>I want to change the Input mask of the zip code if the user types in more than 5 characters. I have tried everything (except that which works). Any ideas?
>DLC
Here you go, Dave:
if len(alltrim(this.value)) = 5
this.value = this.value + '-'
this.inputmask = 'xxxxx-xxxx'
this.selstart = 6
endif
In gotfocus, set mask back to ''...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.