Formbuilder validate a textfield
Posted: Wed Jan 12, 2022 11:06 pm
Hi,
i have managed to use a validation with a number through the regex like /^(27)/ for number 27.
Now i am looking to find how i validate a text-input with a word, i tried /^(dog)/ for the word dog but that does not work.
I can find lots of regex-tests but does not seem to fit my wish, do i need javascript here?
and when how do i enter that in CMSMS? Does anyone have an example please?
Kind regards,
Jan
i have managed to use a validation with a number through the regex like /^(27)/ for number 27.
Now i am looking to find how i validate a text-input with a word, i tried /^(dog)/ for the word dog but that does not work.
I can find lots of regex-tests but does not seem to fit my wish, do i need javascript here?
and when how do i enter that in CMSMS? Does anyone have an example please?
Kind regards,
Jan