Validate length with html
snippet in html

Validate length with html

user7725

<--html forms min. charcter-->
<input pattern=".{3,}"   required title="3 characters minimum">
<input pattern=".{5,10}" required title="5 to 10 characters">

html5 input required length

user941

<input pattern=".{3,}"   required title="3 characters minimum">
<input pattern=".{5,10}" required title="5 to 10 characters">