How can I add Auto Client side validation?

Client side validation is the checks on input values that are run in the form page and usually show errors as 'bubbles'. ChronoForms has several ways of setting this up and this FAQ talks about the Auto JavaScript Validation action.
The Auto JavaScript Validation action is found in the Validations action group of the Form Wizard (it is not visible in the Easy Wizard). To use it you need to drag a copy into the On Load event of your form and move it up before the Show HTML action.
Open the action and add the names of the inputs that you want to validate in the appropriate boxes, if there is more than one input name in a box then separate them with commas but no spaces e.g. input_name_1,input_name_2
When you are done Save the action configuration, then Save and Close the form.
Open the Form General tab by clicking the form name link in the forms Manager; then click the JS Validation tab and set 'Enable JS Validation' to 'Yes'.
Save your form and chack that the validation is working.
 
Category: CFv4 Validation

Comments:

You need to login to be able to post a comment.