Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

more than one submit button on a form

Status
Not open for further replies.

rewdee

Programmer
Aug 17, 2001
295
US
I have a form that I would like to put two different actions to. One action could be add a new record in the detail table, and the other action could be process the data entered in the form. Is there a way to have more than one action per form? If so, can anyone share how you can do it.

Thanks,
Rewdee
 
I have always seen it done with your text as standard HTML and the submit buttons as the only form item.
 
Assuming you have both submit buttons names as: Submit1 and Submit2, have each button submit to a different function and or code page. Tony
:cool:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top