In my existing web page layout, which involves multiple files, one specifying the high-level layout, there are two elements, one for a left column, and one for a right column.
I want to have a single logical <form> (with a single action) where <input> elements are spread across both the left column and the right column. Is the only way to do this have the element be parent to both <div>s (and refactor my layout code), or is it possible to do something like <form [something]> inside both divs, so that clicking submit in one form submits all the inputs from both forms?
The only way to submit both forms is to wrap both
<div>s within a single<form>tag. Or, you can use jQuery/JavaScript to aggregate the data and submit them together as one submission.