Hi!
How can I set up text field validation to accept only lower cases and numbers?
How can I set up text field validation to accept only lower cases and numbers?
Regex would probably be easiest.
Could you explain?
Hi,
ChronoForms supports RegEx - Regular Expressions in the validation options. Please see this page for an introduction if they are new to you.
Bob
ChronoForms supports RegEx - Regular Expressions in the validation options. Please see this page for an introduction if they are new to you.
Bob
Hi!
How can I use it?
I've put this in regex:
When I type any upper case or non-alphanumeric charachter in text field, the warning shows up. But when i click "send" button even when there is no forbidden characters I got an error and form is not sended...
PS. sorry for my english
How can I use it?
I've put this in regex:
[a-z0-9]
When I type any upper case or non-alphanumeric charachter in text field, the warning shows up. But when i click "send" button even when there is no forbidden characters I got an error and form is not sended...
PS. sorry for my english
/^[a-z0-9]+$/ if it's required that they enter something
or
/^[a-z0-9]*$/ if it's not
or
/^[a-z0-9]*$/ if it's not
This topic is locked and no more replies can be posted.