We're desinging a page with a large form and would like to have a sub-form. Can one submit button submit both forms to the same php script?
The user may fill out the full form and submit it. No problem. But we'd like to have a section of it as a sub-form. So, if they change the sub-form and submit it the server reprocesses the data and returns the page with both the sub-form and larger form filled out as when submitted. A problem arises in that if they submit the sub-form how do we get the data from the large form to the server so we can repopulate those fields.
Perhaps if one form used the post method and the other get? But wouldn't that send two seperate streams to the server the get processed seperately?
Any thoughts or help would be appreciately.
Thanks
The user may fill out the full form and submit it. No problem. But we'd like to have a section of it as a sub-form. So, if they change the sub-form and submit it the server reprocesses the data and returns the page with both the sub-form and larger form filled out as when submitted. A problem arises in that if they submit the sub-form how do we get the data from the large form to the server so we can repopulate those fields.
Perhaps if one form used the post method and the other get? But wouldn't that send two seperate streams to the server the get processed seperately?
Any thoughts or help would be appreciately.
Thanks