Hi,
I'm developing a small application and I'm validating with JavaScript. I have a particular field that needs particular data/characters in it. This field must be in this format: NN/ZZZZ
where NN must be between 06 and 20
/ is fixed in position 3
ZZZZ must be between 0001 and 9999
Nothing else should be accepted in this field. I want that when the user inputs 8/1, the field is automatically corrected to 08/0001.
Thanks for your help.
I'm developing a small application and I'm validating with JavaScript. I have a particular field that needs particular data/characters in it. This field must be in this format: NN/ZZZZ
where NN must be between 06 and 20
/ is fixed in position 3
ZZZZ must be between 0001 and 9999
Nothing else should be accepted in this field. I want that when the user inputs 8/1, the field is automatically corrected to 08/0001.
Thanks for your help.