Jump to content


This topic is now archived and is closed to further replies.


Wordpress: Custom form post method not working

Recommended Posts

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:



Would anyone know whats going on here?





Share this post

Link to post
Share on other sites

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!

Share this post

Link to post
Share on other sites

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.