How does one loop through the contents of a form complicated by dynamic
construction of checkboxes which are assigned a 'model' and 'listingID' to
the NAME field on the fly in this syntax: Hunter_69. Here is what the form
looks like. I have the difficulty of inserting the multiple items selected
by the user the first time he visits and uses the screen and then using an
UPDATE when he visits later.
Model | Original Price | Reduced Price | Watch Item
F Pajot | 452000 |30000 |[Tick ]
Lagoon | 60000 |38000 |[ ]
Hunter | 552000 |350000 |[ ]
SUBMIT
<FORM action="formhandler_databaseinsert.asp">
<INPUT type="checkbox" id=checkbox1 name=<%=model%>_<%=ListingsID%>>
</form>
....However, I am not sure how to do a multiple update when iterating through
the form collection as I don't know in advance what the NAME field would be
as it is based on the concantenation of the 'Model' and the 'ListingID' eg:
FoutainPajot_33.
How does on tackle mutiple inserts or update when you have to loop through a
form with DYNAMIC names for the eg: Checkbox field?
Many thanks
jason