Multiple Forms

P

Prabhat

Hi Friends,

Can I have one page "prod.asp" with 2 forms (form1 with ONE Submit Button
and form2 with 2 submit buttons) submiting to same page "prod.asp" again?

Thanks
Prabhat
 
J

Jeff Cochran

Can I have one page "prod.asp" with 2 forms (form1 with ONE Submit Button
and form2 with 2 submit buttons) submiting to same page "prod.asp" again?

Why would you want to?

Jeff
 
P

Prabhat

Why would you want to?

Jeff

Hi,

Now I have tested and it is working. I need this because I have very little
information to show to user and all can be donw in one page only with
different conditions, Also in some of conditions I need to display all
fields on multiple conditions.

Thanks
Prabhat
 
P

PW

Prabhat said:
Hi Friends,

Can I have one page "prod.asp" with 2 forms (form1 with ONE Submit Button
and form2 with 2 submit buttons) submiting to same page "prod.asp" again?

Thanks
Prabhat


Sure can ... heres an example ... all this is within one ASP and will direct
to the required ASP depending on which button the user presses ...


<form ID="myform2" NAME="myform2" method="GET" action="tran_sale3.asp">
<button onclick="submit()" accesskey="P"
style="width:250px;height:50px;"><u>P</u>ROCEED</button>
</form>
<form ID="myform3" NAME="myform3" method="GET" action="tran_sale9.asp">
<button onclick="submit()" accesskey="C"
style="width:250px;height:50px;"><u>C</u>ANCEL</button>
</form>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top