forms inside of other forms?

  • Thread starter Thread starter Andy B
  • Start date Start date
A

Andy B

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...
 
You can not have a form in another form and an .aspx page must have a
design-time runat=server form.
 
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>
 
I have a poll that is contained inside a form that is autogenerated that i
need set inside my may aspx <form> tag...
 
Back
Top