how to add pattern input php max caracter 30 code example
Example: 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">