Help with dynamic form

I’m trying to create a CRM-type app where a new customer can add as many service addresses as they need. The idea is to collect information related to one service address, then have a button under it labeled “add another service address” and then another set of blank fields will pop up that will allow the user to enter pertinent details related to that service address.

Also, and this is just me trying to think ahead, how do I create these service addresses in the database will having them linked to the same customer?

Thanks in advance!

U can use repeating groups with a input placed outside when entering 2 or 5 as a number that many rows appear for input