I have just finished designing my website and uploaded it. it works well except the feedback contact form that is not working at all. The fields can be filled in OK but when clicking on the send button, nothing is happening.
My hosting provider (UKcheapest) support PHP and I followed all the instructions in freeway to install it. I don’t understand what I am doing wrong. If someone would help please as I am getting very frustrated.Thank you.
Hi Helene,
What I suggest when people are having problems with this action are;
Make sure that the Success and Error pages in the action are linked to pages in the action interface. Both are required and without them the action won’t publish the PHP code.
Make sure all of the form elements you want to include in your form are all on the same layer, or better still, not layers at all. As layers Freeway will distribute the code around the html page as best as it can but in doing so this breaks the form structure and the form will, at best, be a partial success. This won’t be an issue for you as Express doesn’t support layered items.
If after testing the form online and getting the success page you still don’t get an e-mail through consider changing the option in the action interface to define a page for each of the error types. If the code fails for whatever reason then the action should take you directly to that error page (server failure for example).
If you are still having problems then please feel free to send me a link to the page online and a copy of the -go.php file (this should be in your site folder) and I’ll be happy to take a closer look.
Regards,
Tim.
On 5 May 2011, at 08:19, Helene wrote:
I have just finished designing my website and uploaded it. it works well except the feedback contact form that is not working at all. The fields can be filled in OK but when clicking on the send button, nothing is happening.
My hosting provider (UKcheapest) support PHP and I followed all the instructions in freeway to install it. I don’t understand what I am doing wrong. If someone would help please as I am getting very frustrated.Thank you.
Thanks a lot for your reply Tim, it now seems to be working, messages can be sent and I receive the emails but the page thank you and error don’t. If someone puts an incorrect email address, the error page should come up and instead, it’s the thank you one that does…any idea what goes wrong there? thanks if you can help. Helene
Make sure that you have all the fields named correctly (3rd tab in the inspector) name, email are the critical ones. And when you say a ‘incorrect’ you do mean incorrectly formatted?
Hi David, thanks for your reply. I mean by incorrect if someone doesn’t write the email address correctly on the form for instance. The ‘error page’ should come up but instead, I get the ‘thanks page’ coming up.Helene
Change the Names for your text fields from ‘Name’ to ‘name’ and ‘Email’ to ‘email’ (3rd tab in the inspector, Item Output Settings) - upper/lower case distinctions are important when naming these particular fields.