I have a form for users to enter contact (customer) details, and I want to add a separate form to enable users to add phone numbers to the data. They would open the second form by clicking on a button. Contact details are stored in a contact table keyed on contact_id. The telephone numbers are stored in a telephone table keyed on phone_id with a foreign key of contact_id.
I have created the forms, but I cannot see how I can link the form handling phone numbers with its parent, the contact details form. Any insights here would be appreciated.