I would like to submit multiple ROWS of field columns using an HTML form with the only difference being the corresponding server side identifier.
Pseudo:
ID(257) -> Name, Color, Price
ID(415) -> Name, Color, Price
I prefer NOT to:
- Have each group as its own form and submit via JavaScript.
- Concatenate the id and real name and unmerge on the server.
Thanks
You can use the same input name when attaching a [] to it, in PHP this will result in an array on submission:
Result: