Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old May 22nd, 2006, 11:35 AM
Prabhat
Guest
 
Posts: n/a
Default Multiple Forms

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


  #2  
Old May 22nd, 2006, 12:25 PM
Jeff Cochran
Guest
 
Posts: n/a
Default Re: Multiple Forms

On Mon, 22 May 2006 15:48:51 +0530, "Prabhat" <not_a_mail@hotmail.com>
wrote:
[color=blue]
>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?[/color]

Why would you want to?

Jeff
  #3  
Old May 22nd, 2006, 12:45 PM
Prabhat
Guest
 
Posts: n/a
Default Re: Multiple Forms

>[color=blue]
> Why would you want to?
>
> Jeff[/color]

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


  #4  
Old May 22nd, 2006, 01:45 PM
PW
Guest
 
Posts: n/a
Default Re: Multiple Forms


"Prabhat" <not_a_mail@hotmail.com> wrote in message
news:e7O2gkYfGHA.4976@TK2MSFTNGP02.phx.gbl...[color=blue]
> 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
>
>[/color]


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>



  #5  
Old May 22nd, 2006, 03:55 PM
Kristofer Gafvert
Guest
 
Posts: n/a
Default Re: Multiple Forms

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:
[color=blue]
>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[/color]
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,338 network members.