How can I link multiple buyers/owners to a single form?
Short answer: Using two forms (Overview + Edit) plus recursive address loop macros. The loop macros are called _buyerbrek_1_ / _buyererek_1_ for buyers and _ownerbrek_1_ / _ownererek_1_ for owners.
Brief procedure
- Create an Edit form with the address fields + link setting โLink property and address as buyer/owner/contact typeโ.
- Create an overview form with just one description field containing the loop macros.
- In the overview form, insert a link for each buyer/owner using
_BuyerUuidaddress or _OwnerUuidaddress to the edit form.
- Outside the loop, insert a โLink (additional) buyerโ link that calls up the edit form without an address ID โ a new address is created and automatically linked.
- In the edit form, set the thank you page back to the overview form.
Full instructions with code
๐ Linking multiple records with a form โ complete step-by-step guide with examples for owner, buyer and contact type (solicitor, administration, etc.).
Related