wordpress contact form
Posted on 2011-10-20
I am trying to develop a contact form on a wordpress page, but I dont want to use any plugins, just my own php/html.
All I want to do it post the form contents back to the same page, so that I can process the form using php (which is in the same page as the form) and either display errors or redirect to a thank you page. simples...
or maybe not...
The page displays perfectly, but whenever I click 'send' it returns back to my blog page, but the url is for the contact page?? kind of weird thing going on there...
I have the following form declaration:
<form id='contactform' method='post' action=''>