0

Can anyone explain the format_output method and render method in django Multiwidget.

I have a Select box, a text field for email input and a checkbox. I have created a multiWidget but I want to have a add more feature, like if somebody clicks on the Add More button, javascript will replicate the set of fields that created by the multiWidget.

Also i want to render html like this :

<input type = "text" name=textbox_name[] />

how can I achieve this.

Thanks in advance.

ashishanand
  • 33
  • 1
  • 7

1 Answers1

0

Take a look at Django Formsets and related posts

dynamically add field to a form

Community
  • 1
  • 1
sgimeno
  • 1,883
  • 1
  • 22
  • 35