Alright, let me start with an example. I have a bunch of items and they can fall into series of categories. An item can be in multiple categories. Basically what I have is a listing of items with checkboxes grouped by category. Again an item can appear more than once. So it could look something like:
Blue Items: Item 1 Item 2 Item 3
Red Items: Item 1 Item 4
So next to each item there is a checkbox to delete the item-category association. What should I store in the value of the input so I can differentiate items between categories? I mean I can't use the item number because it can appear in multiple categories. I could do something like "blue-item2" then when going through the form with my server side script split the value string with "-" but that seems a little iffy.
Sorry if the question is a little vague. I can clarify a little if need be.