Maniac wrote:

Give them all the same name but different value.

   <input type="checkbox" name="array" value="{{id}}">

Then when you submit a form browser will send values of checked checkboxes and then in a view you can do

   request.POST.getlist('myfield')

A typo: I meant 'myfield' and 'array' to be the same name but messed them up when editing :-)

Reply via email to