Re: Multiple Submit

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

 



When I click on "save" at the bottom, I want it to check my form and submit
all the values.  When I click on the "Retrieve" button I want it to submit
my order number to another page, and also carry over the $_POST value of any
field that may have had info entered into it.

However, since I have a form within a form, it is giving me problems.


On 2/26/07, tedd <tedd@xxxxxxxxxxxx> wrote:

At 11:23 AM -0500 2/26/07, Dan Shirah wrote:
>Hello all,
>
>I have a page that has multiple submits on it.  One submit is within my
>javascriptfor form checking, the other submit is a button used to
populate
>all customer information if an order ID is entered.
>
>Problem:  I cannot get the two to coincide at the same time.  They both
use
>the submit function to send the data to the same page instead of their
>unique individual pages.

Nothing wrong with putting two forms on the same page and each with
their own action and submit button.

You can always add an attribute value (value=1) with each submit
button so that you can determine later which page to redirect your
attention.

tedd
--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com


[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