I have a Customers thing and a Customer Contacts thing. A Customer can have many Customer Contacts. I added in a field inside my Customer table with type “Customer Contact” and checked the box to make it a list.
In my “Add a customer” form I want the option to be able to add multiple contacts to this customer. Take a look at the picture to see what I am trying to do.
I am able to save a customer to the database and can also save a contact without associating it to any customer. I am having a lot of trouble getting my contacts to display in a repeating group. For some reason only 1 contact will ever display and when I hit the save contact button it overwrites my entry in my RG although it does correctly save it.
Once I have my list displaying I am not sure how to best go about linking the customer to the contacts once the form is saved. Currently my solution is far from ideal as a contact should not be created without being linked to a customer. I have looked into custom states and this sounds like the perfect solution to temporarily store the contact data but after watching many videos I am not able to configure it either.
All my settings are below, any help is greatly appreciated!