melting_dog Posted December 29, 2011 Share Posted December 29, 2011 Hi guys, I know this is a Wordpress question by I am really hoping I can get a hand here (the WP forums are pretty useless). I have created a custom form with this: <form action="http://www.adamsherman.com.au/postureperfection/thankyou" method="post"> When I hit the submit button on the form, however, it just gives me a 404. BUT, if I copy and paste the above URL into my browser it works fine (I.E. takes me to the thankyou page that mails the form info). Heres the contact page if you want a go: http://adamsherman.com.au/postureperfection/product-inquiry/?prodid=323 Would anyone know whats going on here? Thanks! Quote Link to comment Share on other sites More sharing options...
melting_dog Posted December 30, 2011 Author Share Posted December 30, 2011 I have solved this myself. When I left all the form fields blank it worked. I then tested all the fields and found that the Name field was causing the error. I do not know why but perhaps $name is a reserved variable. I changed it to $customer and it works fine! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.