I have 3 fields in my form.
I have a submit button and a button to "Add additional Field".
I understand I can add fields using __init__
method in the form class.
I am new to Python and Django and am stuck with a beginner question; my question is:
When I click the "Add additional field" button, what is the process to add the additional field?
Does the form have to be rendered again?
How and when do I call __init__
or do I even have to call it?
How do I pass arguments to __init__
?