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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Two submit buttons??

Status
Not open for further replies.
You could use the form action to send data via an email script (I use NMS FormMail- - its free.

This formmail, upon successful execution, defaults to a page that lists all the data fields, and information entered by the end user, which can then be printed.

[cheers]
Cheers!
Laura
 
1 form, two buttons, two names, two operations, exact mechanics will depending on your script language.





Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems

So long, and thanks for all the fish.
 
Use Javascript to redirect to either a page with your email script or print page. You could even do this with one button and a couple of radio buttons that decide which page to go to.

Cheech

[Peace][Pipe]
 
u dont have to use "buttons" with your form per say
think of them as links or set action of your buttons to none.....
one link that submits to the page that DOES process the email...while other 'GoesTOURL' link would lead to the page that only displays form entries.
Is this static or dynamic enviroment?


:--------------------------------------------------------------------------:
fugitive.gif

ok,ok...I did shoot the deputy but he told me he was the sheriff!
:--------------------------------------------------------------------------:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top