Click to See Complete Forum and Search --> : Multple submit button option with POST method


szms
08-22-2003, 04:06 PM
Hi there..

I am trying to implement a form and two subnit button(yea and no) using POST method. If I prss "yes" button it will open a new page yes.html and display whatever is selcted from the form. And for "no" button it will open no.html and display the selected contents. How to do that?

Khalid Ali
08-23-2003, 11:13 AM
1. you can change the action attributes value dynamically depending upon the button clicked.

2. You can forward data to another page using URL and then parse the URL on the next page and display accordingly.

3. Or you can use server side language where you pass the data from the form and then create the next oage.