Jump to content

split forms


sav

Recommended Posts

hi im newish to all this but was wondering ...if there is a way to split up a form so that elements of a single form do not have to be contained within a single set of <FORM></FORM> tags?This would be extreemly helpfull in setting up the layout of pages so that elements of a common form do not have to be grouped together in the same areathanks in advancesav.

Link to comment
Share on other sites

If you are using HTML,ASP, or PHP you can use multiple forms on a page...ASP.Net however only allows 1 form per page.

Hi, Sorry I didnt make myself clear. I am trying to use PHP to do something like this:
<FORM Name="sameForm" ACTION="./otherPage.php" METHOD="POST">   <INPUT TYPE=TEXT NAME="one"></FORM><!-- Other Forms and Things In Here --><FORM Name="sameForm">   <INPUT TYPE=TEXT NAME="two">   <INPUT TYPE=SUBMIT VALUE="Submit"></FORM>

where when you click submit, the elements of both sections get POSTed to the otherPagethanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...