Page 1 of 1
Form Not Submitting
Posted: Sat Aug 10, 2019 11:54 am
by JohnR
I have a form
www.ridgley.ca/ml.php which was working fine until I downloaded the latest release of WYSIWYG and made a few changes.
Now when the submit button is pressed a white screen appears (it used to redirect), and nothing is submitted.
I have probably screwed something up, but I don't know what it is.
Re: Form Not Submitting
Posted: Sat Aug 10, 2019 2:36 pm
by Pablo
Usually this means that there is invalid code on the success page.
Unfortunately, I cannot see what you have done based on the HTML code only.
To be able to help you I need a copy of the project file.
Related FAQ:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=82134
Re: Form Not Submitting
Posted: Sat Aug 10, 2019 2:41 pm
by JohnR
The success page wasn't changed.
Easiest way to send you the project?
Re: Form Not Submitting
Posted: Sat Aug 10, 2019 3:06 pm
by Pablo
What exactly did you change?
Note that I do not need to complete project. Only the problematic page.
See the FAQ:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=82134
Re: Form Not Submitting
Posted: Sat Aug 10, 2019 3:13 pm
by JohnR
I selected the option to 'Do not allow URLs in form data'.
I have an email address in the form, but no URLs to my knowledge.
Re: Form Not Submitting
Posted: Sat Aug 10, 2019 3:58 pm
by Pablo
I cannot see what you have done based on the HTML code only.
To be able to help you I need a copy of the project file.
Re: Form Not Submitting
Posted: Sat Aug 10, 2019 6:10 pm
by JohnR
How do I send the project file to you?
Re: Form Not Submitting
Posted: Sat Aug 10, 2019 7:35 pm
by Pablo
Re: Form Not Submitting
Posted: Sun Aug 11, 2019 12:25 pm
by JohnR
I've stripped out everything from the project except the forms and success pages.
The problem occurs when I change the form to 'Do not allow URLs in form data'.
www.ridgley.ca/License.wbs
Hopefully you will be able to see where the issue is.
Thanks!
Re: Form Not Submitting
Posted: Sun Aug 11, 2019 12:39 pm
by Pablo
In the demo project the error page is not configured.
Does your original project have an error page?
The error page is a required option, if you use 'Do not allow URLs in form data' otherwise will display an empty page.
Also note that in the hidden fields you have configured:
So, the URL validation will always fail!
Re: Form Not Submitting
Posted: Sun Aug 11, 2019 8:21 pm
by JohnR
Thanks for that!
I've added an error page, but I cannot find the redirect you mentioned. I've checked the object manager and it's not there.
The only reference to ml2, to my knowledge, is on the 'success page'.
I do have a page ml.html with a redirect to ml.php, but I don't see how that would cause any problems.
Re: Form Not Submitting
Posted: Mon Aug 12, 2019 6:41 am
by Pablo
You have added this yourself in the 'hidden fields' section of the form.