I searched for the answers here and did not find anything that could directly help me, so I'm going to ask here. I have a form with several selection blocks:
<select name="acabados[]"> <option value="1">ABC</option> <option value="2">DEF</option> <option value="3">GHI</option> </select> <select name="acabados[]"> <option value="1">ABC</option> <option value="2">DEF</option> <option value="3">GHI</option> </select>
As you can see, this is the same selection window. I told the client to use select multiple, but he wants it. The user can add as much as needed for these selection fields (so it can be up to 20 blocks of choice at a time), and I need to get the value (1 or 2 or 3) and the text inside the option. This is then an array that I need to destroy, because I need to add the general values of the selection fields in php. I could use jquery to collect values or php, which is ever easier. Thank you in advance for any help!
source share