Hi,
Has anyone managed to come up with a good solution to creating forms within forms in HTML? Similar to the way Access does, when you can create a form to control say “customers” and then that form has a subform within it which lists “orders” (only those relative to the current customer) and you can manage those orders via that subform.
The trouble I’m having is that in html you can’t nest form tags, so I’m not sure how to do it. I’m using XMLHttpRequest to submit the form, and that has its own custom script that gets the form data and puts it into a URL encoded string. I guess I could mark each form field with the form it applies to, and then get that script to only get the data from those fields?
The easiest way I can think of is to have completely separate forms, and then use absolute positioning to position the second within the first, but that isn’t going to work because the forms scroll down the page and stuff, they also get longer when validation error messages come back from the server. I really want to keep the second form inline with the first.
What do you think? Is there a good way to do this?
Thanks,
Jack
P.S. I dont want to use iframes.