Hi guys!
Does anyone know how to code so that a user can duplicate a form user input box?
I’m creating a form where filmmakers enter their film credits. I’d like the filmmakers to have the ability to click on the “+ button” to add additional credits (depending on how many they have). I’d like to keep the form clean and film credits can range from 1 to over 100 people.
I’m thinking of:
→ duplicating the credit box about 100 times
→ having them collapsed on load
→ having them only expand one by one when the button is clicked
How can I code so that each time the button is clicked, a new individual box expands?
Or is there a better alternative?
I’m new to coding so any help is appreciated!
Thank you