Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 618389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:32:25+00:00 2026-05-13T18:32:25+00:00

<form runat=server id=outer > <form name=inner1 method=POST action=http://www.somesite.com/page.php > <input type=text size=7 name=o id=origin

  • 0
<form runat="server" id="outer" >

  <form name="inner1" method="POST" action="http://www.somesite.com/page.php" >
    <input type="text" size="7" name="o" id="origin" value="london" ></input>
    <input type="submit" name="getDirectionsBtn" id="btnSubmit" value="Submit" />
    <input type="hidden" name="oo" value="p" />
  </form>

  <form name="inner2" method="POST" action="http://www.somesite.com/page.php" >
    <input type="text" size="7" name="o" id="origin" value="london" ></input>
    <input type="submit" name="getDirectionsBtn" id="btnSubmit" value="Submit" />
    <input type="hidden" name="oo" value="p" />
  </form>

  <form name="inner3" method="POST" action="http://www.somesite.com/page.php" >
    <input type="text" size="7" name="o" id="origin" value="london" ></input>
    <input type="submit" name="getDirectionsBtn" id="btnSubmit" value="Submit" />
    <input type="hidden" name="oo" value="p" />
  </form>
</form>

Second+ inner form work just fine but first one does nothing. No broken tags as far as I can see.

I require nested forms as they are POST to an external site and open in a blank window.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T18:32:25+00:00Added an answer on May 13, 2026 at 6:32 pm

    The HTML specification does not allow nested forms.

    You might well find that the opening tag of the first inner form is being ignored (depending on browser and standards mode), then your main <form> is being closed by the first inner forms closing tag, and then the subsequent forms are working “as expected”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following ASP page: <asp:Content ID=Content2 ContentPlaceHolderID=ShellContent runat=server> <form runat=server id=AddNewNoteForm method=post>
I have this at the bottom of my page: <form id=Login method=post runat=server> <span
I have A single page that has the following structure <form runat=server><placeholder></placeholder></form> I have
I have a page that looks like this: Head and body tags... <form runat=server>
my master page is inside a form runat=server like this: <body> <form id=Form1 runat=server>
I have a master page which has a <form runat=server> line and a ContentPlaceHolder
I have asp.net page (Form = runat server ) 2 textboxes: <input type=text id=tb1
You can only have one form runat=server per page apparently. My page has one
Consider the following: <form runat=server> <div> <asp:TextBox runat=server ID=tb1 /> <asp:Button runat=server ID=b1 OnClick=b1_Click
I have next code, <form id=form1 runat=server> <asp:Label runat=server ID=Label1 EnableViewState=false /> <asp:CheckBox runat=server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.