html5 - create login validation dateofbirth as input type -


can 1 suggest how can create login validation alphanumeric characters input field. trying use type of input tag, can use numbers input .

input type="number" name="roll number" placeholder="roll number" 

how can define input field alphanumeric input fields? example- rno52

if want can create input type of text , write pattern has match in order pass validation.

<input type="text" pattern="[a-za-z]{2}\d{3}" title="xx999" placeholder="xx999" /> 

Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

java - More than one row with the given identifier was found: 1, for class: com.model.Diagnosis -