Home > Archive > ASP > May 2006 > Multiple Forms
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Prabhat 2006-05-22, 7:56 am |
| 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
| |
| Jeff Cochran 2006-05-22, 7:56 am |
| On Mon, 22 May 2006 15:48:51 +0530, "Prabhat" <not_a_mail@hotmail.com>
wrote:
>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
| |
| Prabhat 2006-05-22, 7:56 am |
| >
> 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
| |
|
|
"Prabhat" <not_a_mail@hotmail.com> wrote in message
news:e7O2gkYfGHA.4976@TK2MSFTNGP02.phx.gbl...
> 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>
| |
| Kristofer Gafvert 2006-05-22, 6:56 pm |
| Hello,
From what i can read in the HTML specification you are allowed to have
multiple form elements, as long as they are not nested.
http://www.w3.org/MarkUp/html3/forms.html
Not sure though how this is related to IIS.
--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info
Prabhat wrote:
>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
|
|
|
|
|