So far we have created the following
The next step is to create and configure an Adaptive Form to use form data model. To get head start you can download and import sample form. The sample form has a section to display the employee details and another section to list employee’s beneficiaries.
The sample form provided with this course is not associated with any form data model. To configure the form to use form data model we need to do the following:
The first step is to associate prefill service for the form. To associate prefill service, please follow the steps mentioned below
Click Edit to open the form in edit mode
Select Form Container in the content hierarchy and click on the wrench icon to open its properties sheet
Select Form Data Model Prefill service from the Prefill Service drop down list
Click blue ☑ to save your changes
The next step is the bind Adaptive Form’s text fields to Form Data Model elements. You will have to open the properties sheet of the following fields and set its bindRef as shown below
|Field Name||Bind Ref|
Feel free to add additional text fields and bind them to appropriate form data model elements
The next step is to display the employee’s beneficiaries in tabular fashion. The sample form provided has a table with 4 columns and single row. We need to configure the table to grow depending on the number of beneficiaries.
Finally, we need to bind the Row cells to Form Data Model elements.
|Row Cell||Bind Reference|
My form is blank and does not have any data
Table is not populated