Help - Search - Members - Calendar
Full Version: two action in form
HTMLHelp Forums > Programming > Client-side Scripting
barz
hi all, i have this question:

a simple form with two fields (name and country) and two buttons:

- if i click on the button1, a popup will open that will print the values of name and country fields (i use php, ok).
- if i click on the button2, the form will be submitted normally.

How can i do? thank a lot!
pandy
See http://htmlhelp.com/faq/html/forms.html#two-submit .
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.