473,587 Members | 2,263 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

forms inside of other forms?

I have an html form that is supposed to be inside the main aspx page form.
How do I do this so it will work? I have no way of changing the form (nested
form) since its written in javascript and is auto generated...

Jan 31 '08 #1
4 1461
Will an <iframehelp?

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Andy B" <a_*****@sbcglo bal.netwrote in message
news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
>I have an html form that is supposed to be inside the main aspx page form.
How do I do this so it will work? I have no way of changing the form
(nested form) since its written in javascript and is auto generated...

Jan 31 '08 #2
"Andy B" <a_*****@sbcglo bal.netwrote in message
news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
I have an html form that is supposed to be inside the main aspx page form.
How do I do this so it will work? I have no way of changing the form
(nested form) since its written in javascript and is auto generated...
Forms can't be nested i.e. you can't have a form inside another form, e.g.

<form id="form1">
<form id="form2">

</form>
</form>

You can have as many forms as you like so long as they aren't nested, e.g.

<form id="form1">

</form>
<form id="form2">

</form>

However, only one form can be an ASP.NET form, e.g.

<form id="form1" runat="server">

</form>
<form id="form2">

</form>
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jan 31 '08 #3
What exactly are the two actions you'd like combined?
David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup
"Andy B" <a_*****@sbcglo bal.netwrote in message
news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
>I have an html form that is supposed to be inside the main aspx page form.
How do I do this so it will work? I have no way of changing the form
(nested form) since its written in javascript and is auto generated...

Jan 31 '08 #4
I have a poll that is contained inside a form that is autogenerated that i
need set inside my may aspx <formtag...
"David Wier" <dw@dw.comwro te in message
news:eC******** ********@TK2MSF TNGP05.phx.gbl. ..
What exactly are the two actions you'd like combined?
David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with
no bloated markup
"Andy B" <a_*****@sbcglo bal.netwrote in message
news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
>>I have an html form that is supposed to be inside the main aspx page form.
How do I do this so it will work? I have no way of changing the form
(nested form) since its written in javascript and is auto generated...


Feb 1 '08 #5

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

Similar topics

4
1951
by: GrelEns | last post by:
hello, i have a website to do which will needs many forms, and i'm looking for an elegant way to handle them... i would like to know how do you use php and forms , how do you validate user entries (on the server side, i'm not interested in javascript in this post) and when needed how do you display error messages for bad or missing...
2
5832
by: carrionk | last post by:
Hi, Which are the options for publishing access information over an Intranet? Besides ADPs, are there any programs I can use for letting people use Forms of an Access DB inside IE? I've been reading that ADPs can't contain all the functionality of Access forms. Are there options that are not server dependant i.e. ASP.
7
1906
by: MounilK | last post by:
Hi all, I am not sure if this is the right NG to post this question. If that's the case please point me to the correct NG. I have a class library(myLib.dll) which has a class(myClass) which has a method(myClassMethod) that creates a form with a button on it. The application that calls the dll is a windows application(myWinApp). When in...
5
5326
by: ~~~ .NET Ed ~~~ | last post by:
Hi, As you all know when an ASP.NET web form is created that will include web controls and such, it contains a FORM that that identifies the web form and its containing controls. Well, I have a web form who has several other (user & custom) controls, these are enclosed within the standard FORM tag. Additionally *some* of these user...
4
1700
by: Steven Thomas | last post by:
Ok, I am a newbee at vb.net and I have written an application with multiple forms. I have created a form named frmbase with all other forms are inherited from. frmbase has my menu on it. I have set frmbase as the startup form. This all works great, however when I go to form 2 I get a new window, and I would like for it to stay in the same...
3
2177
by: DotNetNewbie | last post by:
I am reading the book Teach Yourself Microsoft Visual Basic .Net 2003 in 21 Days. I am having trouble getting one of the exercises to work at the end of day 4. Exercises: 1. Create a new multiple-form application that displays two forms when it starts, each with a text box. Add code to each text box’s TextChanged event (this is the
7
2783
by: thersitz | last post by:
I can't seem to get my html form to submit properly from within a web form. Here's my form tag syntax and some delivery hidden fields. <form id="myForm" action="https://xxx.order.net/xxx/cgi-bin/delivery.cgi" method="POST" onsubmit="return verify();"> <input type="hidden" name="recipient" value=me@mymail.net /> <input type="hidden"...
6
1445
by: mitch | last post by:
Hi, Can anyone help me with this: If I have a form as below: <form name="Show" style="position:absolute;top:200;left:450;background- color: yellow"> Mouse location.<br> X: <input type="text" name="MouseX" value="0" size="4"><br>
1
1816
by: Troy Bull | last post by:
Greetings I am trying to use a singleton to hold a group of forms. I have a MDIMaster form. I have a class called Forms; Forms is a singleton. I want to do something like the following. In MDIMaster (and other forms), I want to get an instance of Forms (the only instance). Inside Forms then there are public variables for each of the...
12
11048
by: raylopez99 | last post by:
Keywords: scope resolution, passing classes between parent and child forms, parameter constructor method, normal constructor, default constructor, forward reference, sharing classes between forms. Here is a newbie mistake that I found myself doing (as a newbie), and that even a master programmer, the guru of this forum, Jon Skeet, missed!...
0
7843
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8205
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
8220
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6619
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
5712
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
5392
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
3840
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...
1
1452
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1185
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.