I am attempting to limit the entry of values into a 1 character
textbox. Trying to use regex. The way I am doing it does nothing at
all. For example, I can enter a G into the box and it doesn't
care. Cannot find any examples online since it seems most people want
to allow a-z so all the examples show a-z. No variety at all.
I did it like
this: data-bvalidator="regex[^[YyNn]$],required"
Still, an entry of G got thru. I'm gonna forget this stuff and
go with a dropdown list instead. That should add about a half day to
development time since there's like 25 of these. But, whatever.
Leave a comment on leads's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic