I am making a site with a directory of local clinics. The owners of clinics can input the information of their clinic and respective doctors into my database collection through a user input form. However, as some clinics have 1 doctor while others have multiple doctors, i would like to have a form where users can click a "add another doctor" button, and new fields will appear for them to fill in the information of more doctors, and each doctor's information will be automatically added to my doctors database collection.
If you have other suggestions for the form to be able to accommodate an input of any number of doctors within 1 form submission, that would be welcome too. Thanks!