Answers for "input min max length"

5

min length input html

<form action="/action_page.php">
  <label for="password">Password:</label>
  <input type="password" id="password" name="password" minlength="8"><br><br>
  <input type="submit" value="Submit">
</form>
Posted by: Guest on November-19-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
1

input max length

<input maxlength="10" />
Posted by: Guest on October-02-2020

Browse Popular Code Answers by Language