Hello chronoforms community!
I am quite new to chronoforms and I was wondering how numbers are validating using chronoforms. I have posted only one previous topic since I joined this community.
In this post I was asking how chronoforms include required fields so that a form cannot be submitted unless information has been entered into a required field.
Thanks to greyhead I realised I was missing a space in the code, but the right syntax for validating a required field is:
When the same task is carried out for number validation in chronoforms the right syntax for a field to be number validated is:
Unfortunately when I have tried this the text field still allows me to enter and submit letters.
Is there something I am missing in correctly performing number validation on a text field?
If anyone can help in this matter it will be greatly appreciated!
I am quite new to chronoforms and I was wondering how numbers are validating using chronoforms. I have posted only one previous topic since I joined this community.
In this post I was asking how chronoforms include required fields so that a form cannot be submitted unless information has been entered into a required field.
Thanks to greyhead I realised I was missing a space in the code, but the right syntax for validating a required field is:
class=" ['required']"
When the same task is carried out for number validation in chronoforms the right syntax for a field to be number validated is:
class=" ['number']"
Unfortunately when I have tried this the text field still allows me to enter and submit letters.
Is there something I am missing in correctly performing number validation on a text field?
If anyone can help in this matter it will be greatly appreciated!