*** SOLVED *** Urgent Need help in debugging form issue

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
rongreen
 
 
Posts: 156
Joined: Thu Jun 06, 2024 4:36 pm

*** SOLVED *** Urgent Need help in debugging form issue

Post by rongreen »

I have a form that I am having problems trying to identify why I keep getting an intermittent failure page? I am testing the form realtime across 6 different devices (e.g. desktop, latptop, two iPhones, and two iPads) and 3 different browsers (e.g. Chrome, Firefox, and Safari). After I publish the updated pages I clear the cache and refresh the browers before testing the form. Typically, at the first attempt, I will get the failed page. I try again and it may or may not succeeds. I will then go to another device, clear the cache, refresh the browser, and it fails one attempt after another across all browsers. I then go to the desktop and it succeeds. I have ##error## in some text in the failed page but it does not report any results. I have craweled through the form, field by field, looking at each one and its properties and I can't identify anything contributing to the failure. I really am in need of some help and/or recommendations or suggestions on what to look for that might be the culprit? Our customer's are not able to order from us. I have included the project as required, but along with the form I included the success and failed pages in case they are neeeded. Thanks for any help offered!


https://www.greensphotoimages.com/alljo ... rmfail.zip
https://www.alljoyjewelry.com/
User avatar
Pablo
 
Posts: 23224
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Urgent Need help in debugging form issue

Post by Pablo »

You have a very complicated form, so I suggest you first try it with a simple form with just a few field to see if that works.
Once you have the basics working you can go back to the full form.

Also, I strongly recommend to use the built-in recaptcha instead of the outdated extension. The extension does not generate error messages.

Note that there basically 3 reasons why this may fail:
- recaptcha fails
Did you also try without recaptcha and see if that works?

OR

- invalid email input.
In your current configuration the 'from' address is the email that is entred by the user. This may be blockedby the server.
This is documented in the FAQ:
viewtopic.php?t=32967

OR
- sending of the mail fails due to a issue on the server side. You (or your web-host) should be able to look this up in the server error logs.
rongreen
 
 
Posts: 156
Joined: Thu Jun 06, 2024 4:36 pm

Re: Urgent Need help in debugging form issue

Post by rongreen »

Thank you for the help. I will take a look at all 3 recommendations. One question, is the “the 'from' address is the email that is entred by the user” referring to the email entry my customer enters on the form, or my address entered in the form configuration by me?
User avatar
jerryco
 
 
Posts: 896
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Urgent Need help in debugging form issue

Post by jerryco »

I'm the sucker that doesn't know coding here. But I can make some logical suggestions from time to time. Looking at the form you have you need a degree in space aeronautics to understand and complete it. Jewelry is a business of sentiment and feeling, that's why shops that sell them look magical. There is nothing magical about your form besides it's inner workings (if you get it working).

Also, the form says: "Please use this form to order items that you would like to purchase from our existing In-stock inventory. We will respond as quickly as possibly to provide total cost, including shipping and handling."

All in all, why don't you simply set up a form with the minimals so your customer can just brief you on what they want and not need to fool around with a form that would take them to your intervention anyhow?
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
rongreen
 
 
Posts: 156
Joined: Thu Jun 06, 2024 4:36 pm

Re: Urgent Need help in debugging form issue

Post by rongreen »

Good thoughts! Thank you I will take them into consideration.
User avatar
jerryco
 
 
Posts: 896
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Urgent Need help in debugging form issue

Post by jerryco »

Great!
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
User avatar
Pablo
 
Posts: 23224
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Urgent Need help in debugging form issue

Post by Pablo »

In the configuration of your form, the 'from' address property is set to $mailfrom (the default) .
What this mean in this case, is that the server will use the 'email address' set in the form as the 'from' the email.

I also noticed that some fields have spaces in thee 'name', which also may cause issues.
See this FAQ:
viewtopic.php?t=64868
rongreen
 
 
Posts: 156
Joined: Thu Jun 06, 2024 4:36 pm

Re: Urgent Need help in debugging form issue

Post by rongreen »

Thanks to everyone and your help and suggestions. I got the form working using all of them including reducing complexity and updating the “name” in configuration of each field to exclude any spaces and dashes and underscores.
Post Reply