Jump to content

split forms

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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...