Crystal Rouse
asked on
Form Text Field Input Mask
I need to create JavaScript validation for a form input text field.
The format of the text should be:
AB18-1234
It's been awhile since I've done this so I need some quick pointers to get me started.
Thank You!
The format of the text should be:
AB18-1234
It's been awhile since I've done this so I need some quick pointers to get me started.
Thank You!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Please check the below given link may be it will be helpfull for you.
https://www.npmjs.com/package/Click Hereinputmask
regards
php interview questions
https://www.npmjs.com/package/Click Hereinputmask
regards
php interview questions
ASKER
\D{2}+[0-9]{2}-?\d{4}$
Do I need to include ^ to start the line?
What is the symbol for a number only, special character such as a hyphen?