Hi everyone,
I was trying to reproduce the tutorial of the form with validation and
tooltips. I have a field "name" that I want to be between 1 and 10
characters (like first_name in the tutorial).
The Validation Regular Expression for this field is : /.{1,10}/
I've made others fields with Validation Regular Expression /.+/ and these
fields work without problem.
But, when I enter the field "name" with more than 10 characters, the
Validation Message doesn't appears and my form is validated.
But, I don't want my form to be validated, because the field "name" is too
long. Is there a problem anywhere (I copy all the code giving in the
tutorial) ? /.{1,10}/ is it a deprecated expression ?
Please help me ^^
Best regards,
Stéphanie
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Problem-with-Validation-Regular-Expressio…
Sent from the XWiki- Users mailing list archive at
Nabble.com.