I'm programming an order form that has multiple order items. Each line item is a row in form, identical to the previous row. I'm wondering what the convention for names and ids on the input fields. Do i use the same names and id for the fields in each row?
How do I reference an input field within a particular form row?
How do i reference the rows of the form as an array?
What's the best programming approach?
for example:
item quantity item_price total_price item quantity item_price total_price item quantity item_price total_price
thanks