js html5 minlength code example
Example 1: Validate length with html
<--html forms min. charcter-->
<input pattern=".{3,}" required title="3 characters minimum">
<input pattern=".{5,10}" required title="5 to 10 characters">
Example 2: html5 input required length
<input pattern=".{3,}" required title="3 characters minimum">
<input pattern=".{5,10}" required title="5 to 10 characters">