Hello
I have set a textfield to acceppt numbers only and only numbers from 1 and 3. I use validation and events to do so and it works fine.
But there is a small issue: If the user enters a wrong value the error message shows and the form can't be submitted. Everything correct so far.
After the user has changed the invalid value to a valid one, the error message does not go away. But the form now can be submitted.
It would be nice if the error message would go away after the user has entered a valid value.Is it possible?
Thanks a lot.
Regards
Patrick
Events:
http://prntscr.com/nxcqt2
Validation:
http://prntscr.com/nxcr8a
PS: I have selected the wrong tag. It is Chronoforms 6, not Connectivity v6. But I can't chage it now.
I have set a textfield to acceppt numbers only and only numbers from 1 and 3. I use validation and events to do so and it works fine.
But there is a small issue: If the user enters a wrong value the error message shows and the form can't be submitted. Everything correct so far.
After the user has changed the invalid value to a valid one, the error message does not go away. But the form now can be submitted.
It would be nice if the error message would go away after the user has entered a valid value.Is it possible?
Thanks a lot.
Regards
Patrick
Events:
http://prntscr.com/nxcqt2
Validation:
http://prntscr.com/nxcr8a
PS: I have selected the wrong tag. It is Chronoforms 6, not Connectivity v6. But I can't chage it now.
OK so you haven't done that right. You're not supposed to disable validation when you enter a valid combination.
So remove the disable validation event you have there, and instead do a few things.
1) In the validation tab, under "validation rules", put
2) In the "advanced" tab, in "extra attributes", put type:tel
This means when a mobile user taps on the field, it by default will show them the number input keyboard
So remove the disable validation event you have there, and instead do a few things.
1) In the validation tab, under "validation rules", put
integer[1..3]:Must be between 1-3This says it has to be a whole number (whereas the "Number" validation can be a decimal like 3.14159) between 1 and 3.
2) In the "advanced" tab, in "extra attributes", put type:tel
This means when a mobile user taps on the field, it by default will show them the number input keyboard
This topic is locked and no more replies can be posted.