How to create master-details "parent-child" form?

Last Update: January 08, 2018

Here are the steps on how to create master-details "parent-child" form using SPARK Forms. We are assuming that you already have the following lists created at root level:

  1. Countries with the following columns:
    • Country Name: Single line of text.
  2. States with the following columns:
    • State Name: Single line of text.
    • Country ID: Number. (This is the Master ID column to be mapped with ID system column in the parent list "Countries").

 

  1. Open the form in design mode.
  2. Add the following to the form design workspace:
    How to create master details parent child form1.jpg
  3. Set the Required property of txtCountryName and txtStateName controls to ON.
  4. Select Repeater1.
  5. Under Control Properties, set the following:
    • Data Source: Mapped.
    • Mapped To: List.
    • Select the Dynamic Data Source icon to configure the repeater .
      How to create master details parent child form3.jpg
  6. Configure Repeater1 as follows:
    How to create master details parent child form4.jpg
  7. Publish the form by clicking on the Publish button in Publishing Group in the Form Ribbon.
  8. Test the form by clicking on an existing item or new item in the Countries list.

Related Resources:
These resources may not reflect the same exact case steps.
https://www.youtube.com/embed/Hb2uJyKg7sE