jeudi 9 juillet 2020

validation max-min pattern input

How do I put 2 words minimum and 2 words maximum in an input with a pattern?

<input type="text" name="name"; pattern="()">

So this field should have 2 words mandatory and 2 words max

Aucun commentaire:

Enregistrer un commentaire