Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Steps to use the Plugin Template - Form Options Binder:

1. Launch the app "Plugin Template Demo" and create a new template again on the Plugin Template Management Page by clicking the "New" button.2. Create a new Form called Country Categories from which the country select boxes of forms will populate its selections from. (See Figure)

Figure

42. Drag a text field into the new Country Categories form, label it as Country, and make it a mandatory field.

53. Save the new form and click on Generate App to generate a CRUD for it.

6. 

4. Launch the userview, go to "Manage Country Categories" and create a few country records. (See Figure)

Image Added

Figure

5. Create a new template again on the Plugin Template Management Page by clicking the "New" button.

6. 3. Fill up the Plugin Template Management Page 3. Fill up the Plugin Template Management Page accordingly and for the "Plugin" field choose any one of the formatter under Form Options BinderThe Default Form Options Binder is chosen for the Plugin field in this Demo App. (See Figure)

Image RemovedImage Added

Figure

7. Configure the Default Form Options Binder plugin by clicking the "Configure Plugin" button. Select the Country Categories form as the source form and point to the correct form field to represent the labels for each of the options values and click the "Submit" button to save the configuration. (See Figure)

Image Added

Figure

8. Save the Plugin Template by clicking the "Save" button. 

9. Enter the Design View of the Plugin Template Form and click on the edit icon of the Country select box to edit its properties.

10. In Edit Select Boxfor the Choose Options Binder property, select Plugin Template - Options Binder. (See Figure)

Image Added

Figure

11. Navigate to Or Choose Options Binder (Plugin Template - Options Binder) and select the Option binder template created and click the "OK" button. (See Figure)

Image Added

Figure

12. Save the form and preview the form to check the results. (See Figure)

Image Added

Figure3.


Form Validator

Steps to use the Plugin Template - Form Validator:

...

3. Configure the Default Validator Plugin by clicking the "Configure Plugin" button. Make sure the Mandatory property is checked and then click the "Submit" button to save the configuration. Save the Plugin Template by clicking the "Save" button. (See Figure)

Figure 

4. Enter the Design View of the Plugin Template Form.

5. Edit one of the fields in the form and navigate to Edit Text Field > Advanced Options and select Plugin Template - Validator  for the Validator property. (See Figure)

...