My client requested I add Validate > Data required to their form fields. This broke the form sending it to the error page on send. I eventually figured out it was conflicting with the anti-spam feature in Advanced > Misc > Enable Server Sided Validation. I had to disable this feature to get the form to work with data required fields.
Is there a possible work-around for this? Or are the two features incompatible?
Form stops working with Data required and anti-spam
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
- protectourlands
-
- Posts: 443
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Form stops working with Data required and anti-spam
Maybe the settings are incomplete? For example, maybe you have set a minimum value but no maximum?
- protectourlands
-
- Posts: 443
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Form stops working with Data required and anti-spam
I don't think that is it Pablo.
Test: Add a form to a page with just 1 editbox field. Check Require data and set the min to 1, max to 100. Test and verify form works. Go to Advanced and select Enable Server Side validation. Form stops working and goes to error page.
Here are two test pages. I cloned test1 to make test2 and only checked the server side validation. Nothing else
Enable Server Side validation unchecked
http://www.hippiechicscatering.com/test1.php
Enable Server Side validation checked
http://www.hippiechicscatering.com/test2.php
Test: Add a form to a page with just 1 editbox field. Check Require data and set the min to 1, max to 100. Test and verify form works. Go to Advanced and select Enable Server Side validation. Form stops working and goes to error page.
Here are two test pages. I cloned test1 to make test2 and only checked the server side validation. Nothing else
Enable Server Side validation unchecked
http://www.hippiechicscatering.com/test1.php
Enable Server Side validation checked
http://www.hippiechicscatering.com/test2.php
Re: Form stops working with Data required and anti-spam
I cannot see what you have done based on the published HTML code.
To be able to help you I need a demo project, so I can see all settings.
To be able to help you I need a demo project, so I can see all settings.
- protectourlands
-
- Posts: 443
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Form stops working with Data required and anti-spam
Sorry Pablo. I was working on it when you replied. Here it is
http://www.hippiechicscatering.com/valtest.wbs
http://www.hippiechicscatering.com/valtest.wbs
- protectourlands
-
- Posts: 443
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Form stops working with Data required and anti-spam
OOPS! I left out the success and fail pages. Here it is with those.
http://www.hippiechicscatering.com/valtest.wbs
http://www.hippiechicscatering.com/valtest.wbs
Re: Form stops working with Data required and anti-spam
I think the issue is related to the spaces in the input field.
"First Name" is not valid. PHP does not support spaces in input names.
See also:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=64868
"First Name" is not valid. PHP does not support spaces in input names.
See also:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=64868
- protectourlands
-
- Posts: 443
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Form stops working with Data required and anti-spam
Yes Pablo, that is probably it. I have never had this be an issue with field names but apparently the server side validation that I just started using doesn't like it. BTW using this and the Do Not Allow URLs has seemed to dramatically reduced form spamming. Thank you for adding these options.
And, thank you so much for taking the time to look into this. You are amazing!
And, thank you so much for taking the time to look into this. You are amazing!