I have this two inputs one of type text and the other number
<input type="number" class="form-control" id="phone" name="phone" placeholder="Telephone Number" maxlength="10" pattern=".{10,}" required title="10 characters minimum"/>
<input type="text" class="form-control" id="names" name="names" placeholder="Names" pattern=".{5,30}" title="Minimum of 5 characters required"/>
the input text is able to respond when the user fills less than 5 characters but the type number does not respond when the input is less or greater than 10. It does respond however to the required rule.
How can i set the minimum characters for the input type number without having to result to javascript?.