I need a MultiWidgets that renders HTML like following as a MultiValueField :
<div class="formfield_trailer">
<div class="formfield_title">My Family</div>
<select label="My Family" name="family_biodata[]" id="id_my_family_0">
<option value="0">Select One</option>
<option value="F">Father</option>
<option value="M">Mother</option>
</select>
<input type="text" size="5" class="family" label="My Parents" id="id_my_family" name="family_biodata[]">
<input type="checkbox" label="My Family" name="family_biodata[]" id="id_my_family_2">
<p><a>Add More<br><br></a></p>
</div>
Thanks in advance. Also I Can any one help me for a detailed tutorial link regarding this as I am a newbie and Django Document doesn’t specify much.
Here’s a project illustrating a MultiValueField example:
https://github.com/justinlilly/django_multiwidget_demo
Here’s the relevant bit from that project’s source: