I have the following scenario: The client chooses more than one benefit package on a page (html form), so far so good, working with array
Example:
<input type="checkbox" name="pacote[]" value="pacote1">
<input type="checkbox" name="pacote[]" value="pacote2">
But on a next screen he should put the name of the beneficiaries in each package, which may or may not repeat the same beneficiary for one or more packages.
The structure would look something like this:
Package 1:
Beneficiário-1
Beneficiário-2
Beneficiário-3
Package2:
Beneficiário-1
Beneficiário-3
Beneficiário-4
See that Package2 has a payee that does not repeat in Package1.
When I send the form I have to know which payee is from each package.
I'm breaking my head on a way to do this. If you could send more than one form at a time beauty, or if you could do a grouping with <fieldset>
would solve it, it would put a hidden field and kill it.
If someone understands the need and can give you some idea, it will be very welcome.