Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

nested forms

Status
Not open for further replies.

jcbr

Programmer
Apr 19, 2001
12
US
Hello, I know that nested forms are not possible in html. I also know that if you have just one text field in a form, you can submit it by just pressing enter (can't have more than one field though for the enter key to submit it). Here is what I want to do:
I have a page with a bunch of text fields. The very first one is put in a separate form so that users can submit it upon pressing enter. I then use hidden fields to tie the second form's text fields into the first form, then submit the entire first form. Now the customer wants the first text box placed below the second text field (switch the order of the 1st and 2nd text boxes). There is a lot of involved code to put all the 2nd forms fields into the first. The customer still wants to be able to hit enter and submit the field (which will now be the 2nd text box on the page). Any ideas? Hope I made myself clear...Thanks!
 
not very clear what you have or are after.

could you post a url for a test page and what the form is trying to do. I think that you might be making it more complicated than you have to.

Manic
-----------------------------
I've broken it again !!
-----------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top