Form Validator

Steps to use the Plugin Template - Form Validator:

1. Launch the app "Plugin Template Demo" and create a new template again on the Plugin Template Management Page by clicking the "New" button. (See Figure 1)

Figure 1: Create a new Plugin Template

2. Fill up the Plugin Template Management Page accordingly and for the "Plugin" field choose any one of the formatter under Form Validator. As we want to make the form fields "Mandatory", we have to select Default Validator. (See Figure 2)

Figure 2: Fill up the Plugin Template details

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 3)

Figure 3: Configure Plugin (Default Validator) for the Plugin Template

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 4)

Figure 4: Choose Plugin Template - Validator for the "Validator" field

6. Navigate to Validator (Plugin Template - Validator), select the template you have created, and click the "OK" button. (See Figure 5)

Figure 5: Select the created Plugin Template

7. Repeat Steps 5 and 6 for as many fields as you want in the Form Builder and then save the form.

8. Launch the app and enter the Plugin Template Form page and the fields that are set with the Plugin Template will have an asterisk (*) to indicate they are mandatory fields. (See Figure 6)

Figure 6: Check results





  • No labels