I have a Bootstrap horizontal form (with many fields) and would like functionality to add/remove one or many "sub-forms (with many fields) to the parent form.
Also I'm not sure which path to go down, i.e. code with Bootstrap components, or purely with jQuery and CSS (within Bootstrap), or JavaScript only (within Bootstrap).
This may be a simple question, and I've been searching for a bread and butter solution, but with no luck. Perhaps it's very difficult to do.
Found this, but no help Similar question on SO
And this, but it's done in JavaScript Another question on SO
Here is an example of what I'd like to do, I have a parent form which contains personal details fields, and would like when a user clicks a button (+) an address form is dynamically added, and if button (-) is clicked, the address form is removed.
Person
Firstname:
Surname:
Email:
Button (+/-)
Address 1
Street:
Suburb:
Postcode:
Address 2
Street:
Suburb:
Postcode: