I've got an array of values from a checklist:
{% for groups in groupList %}
<tr>
<td id="checkboxes">
<input type="checkbox" name="check" id="check_{{groups.GroupID}}">
</td>
<tr>
{% endfor %}
note this is just a snippet of a larger table. this is the relevant data though.
I need to take all checked items in the table and extract the groups.GroupID into an array and pass this to somewhere (presumably a view) where I can use the data to edit a model instance.
I know how to get the data to an array just fine, but I'm not sure how to approach passing the data on. Possibly a form but I'm not sure how I would implement this to be attached to a view and also pass an array.