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

  1. Create an Edit form with the address fields + link setting โ€œLink property and address as buyer/owner/contact typeโ€.
  2. Create an overview form with just one description field containing the loop macros.
  3. In the overview form, insert a link for each buyer/owner using _BuyerUuidaddress or _OwnerUuidaddress to the edit form.
  4. 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.
  5. 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