Currently, I'm using jQuery validation plugin which activates with a simple required keyword inside the input field. But when I'm going to use this in a dynamically created checkbox field, it simply asked to check all checkboxes. But I want at least one checkbox needs to be checked.
{% for opt in obj.option_array_a %}
<label>
<input class="optcheckbox" name="optcheckbox_{{ obj.question_number }}"
id="{{ obj.id }}__{{ forloop.counter0 }}" type="checkbox"
value="{{ opt }}"/> <span>{{ opt }}</span><br>
</label>
{% endfor %}