lundi 14 décembre 2020

How to implement HTML5 pattern to only accept specific characters

I want to implement this pattern to only accept one letter, being the possibilities: "M,m,F or f". I tried writing this: pattern="[M][m][F][f]{1}", but it's not working

Aucun commentaire:

Enregistrer un commentaire