Home › Forums › JavaScript › Restricted the input field › Re: Restricted the input field
February 5, 2013 at 3:21 am
#123393
Bert
Participant
Hi,
HTML5 can do this: http://www.w3schools.com/html/html5_form_input_types.asp
And then validating the field after a submit and respond accordingly for browsers that don’t support this (yet).
Just like you would do to check if a valid email address was entered.
HTH