473,320 Members | 1,829 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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
May 22 '06 #1
4 1305
On Mon, 22 May 2006 15:48:51 +0530, "Prabhat" <no********@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
May 22 '06 #2
>
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
May 22 '06 #3
PW

"Prabhat" <no********@hotmail.com> wrote in message
news:e7**************@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>

May 22 '06 #4
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

May 22 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

22
by: Matthew Louden | last post by:
I want to know why C# doesnt support multiple inheritance? But why we can inherit multiple interfaces instead? I know this is the rule, but I dont understand why. Can anyone give me some concrete...
0
by: jon | last post by:
Using Visual C++ and MFC, one could generate a very nice MMI using CFormView and the method detailed in the MSDN "vswap" example to allow multiple forms to be viewed ( switched to ) within a single...
6
by: mark | last post by:
I have an asp.net ecommerce web application on a remote web server. I'm using an Access database on the back end. I've notice a few strange things. When I mimic an multiple user environment by...
1
by: Rob | last post by:
I have an ASP.NET application that uses forms-based authentication. A user wishes to be able to run multiple sessions of this application simultaneously from the user's client machine. The...
2
by: John Granade | last post by:
I'm looking for the best way to make a dataset available from multiple Windows forms. The dataset is created from an XML file. I have a main form (frmMain) that loads the dataset and reads the...
6
by: Adam Tilghman | last post by:
Hi all, I have found that IE doesn't seem to respect the <SELECT> "multiple" attribute when set using DOM methods, although the attribute/property seems to exist and is updated properly. Those...
3
by: imrantbd | last post by:
I need array type name like "destList" must use for my destlist select box,not a single name.Or need a solution to capture multiple value of "destList" select box and send all selected value in php...
5
by: c676228 | last post by:
Hi everyone, my colleagues are thinking about have three insurance plans on one asp page: I simplify the plan as follow: text box:number of people plan1 plan2 plan3
6
by: Bob Alston | last post by:
Looking for someone with experience building apps with multiple instances of forms open. I am building an app for a nonprofit organizations case workers. They provide services to the elderly. ...
5
by: Neil | last post by:
"lyle" <lyle.fairfield@gmail.comwrote in message news:48c3dde7-07bd-48b8-91c3-e157b703f92b@f3g2000hsg.googlegroups.com... Question for you. I'm doing something similar, only, instead of opening...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.