Hi,
I have a site that i am converting to WP via Custom Theme/Template page (I guess this is the right name). Now even though I changed the action in the form to the WordPress URL - its not working. I want to catch the POST fields and process the form input on the same page where the form is shown. Is there any thing I am missing ?
This is what I have done:
- Created the wordpress template page by adding the comment and header and footer functions.
- Pasted my PHP and HTML (form) code on that file and uploaded that to server.
- That file is now available if I go to editor in the admin area - I opened it and updated the form action. I opened the WordPress page and select that file/template to apply. Now I can browse to that form by going to that Wordpress page URL. However, if I enter data and click on the submit button, the page reloads but the PHP code is not catching the post data.
I have checked the URL, and the code etc.
Please guide.