How to submit & process forms?

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:

  1. Created the wordpress template page by adding the comment and header and footer functions.
  2. Pasted my PHP and HTML (form) code on that file and uploaded that to server.
  3. 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.

It would be easier to see what the problem is if you post your code here.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.