By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 959 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

forms inside of other forms?

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
Will an <iframehelp?

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Andy B" <a_*****@sbcglobal.netwrote in message
news:%2****************@TK2MSFTNGP03.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

P: n/a
"Andy B" <a_*****@sbcglobal.netwrote in message
news:%2****************@TK2MSFTNGP03.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

P: n/a
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_*****@sbcglobal.netwrote in message
news:%2****************@TK2MSFTNGP03.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

P: n/a
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.comwrote in message
news:eC****************@TK2MSFTNGP05.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_*****@sbcglobal.netwrote in message
news:%2****************@TK2MSFTNGP03.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 discussion thread is closed

Replies have been disabled for this discussion.