Re: Javascript and $_POST
| From: | Paul Novitski | Date: | Wed, 07 Feb 2007 22:02:36 +0000 |
| Subject: | Re: Javascript and $_POST | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-248519@lists.php.net to get a copy of this message | ||
At 2/7/2007 01:34 PM, Dan Shirah wrote:
I have a form that uses Javascript to validate form field entries, and if they are incorrect it returns an error to the user. After the Javascript processing is complete, it submits the form to my save page. However it seems that once the processing is complete and it passes to the save page, none of my $_POST variables are being passed.Of course, all of your form fields need to be inside the same <form></form> tags as your submit button. The sample HTML you posted did not indicate that you'd done this. Regards, Paul __________________________ Paul Novitski Juniper Webcraft Ltd. http://juniperwebcraft.com