I am using Django 1.9 to work my project. I have to use checkbox to enter text. When I use text area to type in it doesn't work, but I do not know how to change it to checkbox.
textareaform.html
<div class="form-group col-md-3">
<label for="{{ form.menwomenkids.id_for_label }}">please write "men","women" or "kids"</label>
{{ form.menwomenkids|add_class:"form-control" }}
</div>
It will show the form and it can work.
However, after I changed to checkbox, I do not how to do it?
checkboxform.html
<div class="form-group col-md-3">
<label for="{{ form.menwomenkids.id_for_label }}"></label>
<input type="checkbox" name="men" value="Men"> men<br>
<input type="checkbox" name="women" value="Women"> women<br>
<input type="checkbox" name="kids" value="Kids"> kids<br>
</div>
It will shows the checkbox form, but checked it did not enter text.

