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
Post a Comment