Buy Now
Sign in

text field validation

spsh21 , June 08 2017, 03:39
S
spsh21 42
June 08 2017, 03:39 #369084
Hi!

I tried to set up pattern for text field validation, but I can't understand how to do this. Pattern like this pattern="[0-9A-Fa-f]{12}" or any other.

Can you help me, please?

Regards,
Sergey
admin 29
June 09 2017, 06:57 #369129
 Answer
Hi Sergey,

Please try this:

/[0-9A-Fa-f]{12}/


Best regards,
Max
Max
If your main question got answered then please mark the answer using the button!
Did you try the new ChronoForms7 ? if yes then please send us your comments!!
S
spsh21 42
June 09 2017, 17:12 #369196
Hi,Max!

It works.Thanks. But validaiton works very strange in my opinion. There is some bug here, I think.

Best regards,
Sergey
admin 29
June 10 2017, 05:00 #369206
Hi Sergey,

How do you expect it to run exactly ?

Best regards,
Max
Max
If your main question got answered then please mark the answer using the button!
Did you try the new ChronoForms7 ? if yes then please send us your comments!!
S
spsh21 42
June 12 2017, 07:35 #369265
Hi, Max!

It's difficult for me to understand how to fill correctly fields on the validation tab - 'Regular expression' and 'Validation rules' fields.




Best regards,
Sergey
admin 29
June 12 2017, 17:03 #369300
Hi Sergey,

The validation rules takes custom rules and messages, the other validation settings are the predefined ones.

Best regards,
Max
Max
If your main question got answered then please mark the answer using the button!
Did you try the new ChronoForms7 ? if yes then please send us your comments!!