473,545 Members | 2,001 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1311
On Mon, 22 May 2006 15:48:51 +0530, "Prabhat" <no********@hot mail.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********@hot mail.com> wrote in message
news:e7******** ******@TK2MSFTN GP02.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_sa le3.asp">
<button onclick="submit ()" accesskey="P"
style="width:25 0px;height:50px ;"><u>P</u>ROCEED</button>
</form>
<form ID="myform3" NAME="myform3" method="GET" action="tran_sa le9.asp">
<button onclick="submit ()" accesskey="C"
style="width:25 0px;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
23324
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 examples?
0
1943
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 application ( i.e. a single app running and a single window). A very useful method indeed - very rapid to develop, forms designed at design...
6
539
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 surfin it in multiple browsers simultaneously the site generates a generic runtime error after awhile. I'm thinking this has something to do with my...
1
3485
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 web.config file is configured as such: <authentication mode="Forms"> <forms loginUrl="Login.aspx" protection="All" name="myApplication"/>...
2
6887
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 data but then I have other forms that give the ability to add, modify, and delete rows. This of course changes the dataset and I need that reflected...
6
7243
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 changes just don't make it onto the screen. Am I doing something wrong here? If not, is there a better feature test I can use than...
3
8703
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 page.The multiple select value then insert in database added by comma.The following is my code: Form Page:form.php <head> <script...
5
14107
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
2633
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. so far I have built a traditional app, switchboard, forms, etc. Part of this app is to automate the forms they previously prepared manually. ...
5
3300
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 the forms all at once, I'm opening them as needed. I have a main form with multiple records; and then I have a pop-up form that the user opens with...
0
7479
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7669
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7926
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7439
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5987
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5343
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4962
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3468
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3450
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.