I'm trying to create a mask in an HTML form field for functional registration, though I'm not getting it. I'm using the pattern
tag in HTML5. In input
I put the tag this way, pattern="[c]{1}+[0-9]{6}+$"
, and would expect the first character to always be a "c" followed by 6 numeric characters ("C999999"). I have read several articles and saw some more standardized models working, what am I doing wrong in this example?