Answers for "html leght validation"

8

how to specify amout of letters in inputfield in css

<input maxlength="25" placeholder="name" />
Posted by: Guest on April-15-2020
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">
Posted by: Guest on July-28-2020

Browse Popular Code Answers by Language