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!
Bump. Is this confirmed, am I doing something wrong, or am I crazy? I'm getting very close to deploying the site.
Hi nwoswamp,
Just found this, will test it then get back to you!
Regards,
Max
Just found this, will test it then get back to you!
Regards,
Max
Hi nwoswamp,
Yes, this is a bug, a fix should be available in the next update!
Regards,
Max
Yes, this is a bug, a fix should be available in the next update!
Regards,
Max
This topic is locked and no more replies can be posted.