Re: form handling
| From: | Chris Stinemetz | Date: | Fri, 12 Aug 2011 01:21:08 +0000 |
| Subject: | Re: form handling | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-314508@lists.php.net to get a copy of this message | ||
> Chris,
> By definition, a 'submit' button submits a form. Not 2 forms. Each form
> has to have it's own form. It is not feasible to submit two forms - since
> the conversation from your client pc is going to be garbled even if you
> could (JS?) do the second submit. One transactiion is going to answer your
> client and then the other is going to wipe it out with its respone.
>
> I don't think you have ot separate your forms becuase they are in separate
> divs. I could be wrong - never tried it.
>
>
I didn't think it was possible either. I will play around with the div
container and ajax some more tonight. Hope I will be able to figure it
out. Is it possible to place a div within the form to only affect the
select tags?
Thanks,
Chris