Using the "Server Validation" On Submit event makes all fields required.
Here's a step-by-step:
Create new form. Give it a name like 'test'
In Designer, add 1 text box and 1 submit button.
Edit text box properties and in the Validation tab, set a property like 'email' to Yes.
In Setup, add HTML (Render) to On Load.
Save. Test form.
Leave the text box empty and click 'submit'. The form submits.
Edit the form. Edit text box properties and in the Validation tab, set the property to No.
In Setup, add Server Validation to On Submit.
Add Event Loop to Server Validation, On Fail.
Edit Server Validation and in email enter:
Save. Test form.
Leave the text box empty and click 'submit'. The form fails validation with "email validation failed".
I point this out because in Chronoforms 4 didn't operate this way and I want to validate forms on the server side (for those with JS blocking) without making all the form fields required.
Thanks!
Here's a step-by-step:
Create new form. Give it a name like 'test'
In Designer, add 1 text box and 1 submit button.
Edit text box properties and in the Validation tab, set a property like 'email' to Yes.
In Setup, add HTML (Render) to On Load.
Save. Test form.
Leave the text box empty and click 'submit'. The form submits.
Edit the form. Edit text box properties and in the Validation tab, set the property to No.
In Setup, add Server Validation to On Submit.
Add Event Loop to Server Validation, On Fail.
Edit Server Validation and in email enter:
text1:email validation failed.
Save. Test form.
Leave the text box empty and click 'submit'. The form fails validation with "email validation failed".
I point this out because in Chronoforms 4 didn't operate this way and I want to validate forms on the server side (for those with JS blocking) without making all the form fields required.
Thanks!