Re: form handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11 Aug 2011, at 19:25, Chris Stinemetz wrote:

> I have two forms on the same php script. Is it possible to submit both
> forms to the same action="processform.php" with a single submit
> button?
> 
> If so would you give me examples on how to handle this?

Three options spring to mind...

1) Combine them into one form in the HTML.

2) Run some JS on submit that combines the values into one form and submits that.

3) Use AJAX to submit the forms separately but simultaneously.

-Stuart

-- 
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux