Enable Form Groups
The Enable Form Groups construct is used to re-enable a previously disabled form groups (validation groups). In scenarios where certain groups of a form are conditionally disabled, this feature allows you to make them enable again.
Key Benefits
- Makes the form or specific form group(s) editable.
- Re-enables the validation rules for the affected fields.
- Allows user input on previously disabled sections.
Use Case Examples
- Conditional Editing: Enabling a form or form group when user selects an "Edit" option.
- Dynamic Form Access: Granting access to certain fields based on user roles or permissions.
- Interactive Forms: Enabling form sections based on toggle switches or dropdown selections.
Follow the below steps to add the Enable Form Groups construct in an event flow:
- In the designer canvas of an Interface, Master Layout and Component event flow, drag and drop the Enable Form Groups construct.
- Double-click the construct to configure the properties as required and then click Save.
| Property | Description | Comments |
|---|---|---|
| Label | Labels help developers quickly understand each step in the logic flow without examining the details of the construct. | It is recommended to provide a simple precise label that can improve the readability. |
| Form Selection | Select ‘Whole Form’ or ‘Individual Groups’ from the list. Following are the options: Whole Form Individual Groups | If the Whole form is selected, the whole form will be enabled. If the Individual Groups are selected, a multi-select dropdown (Groups) will appear. |
| Groups | Allowing user to choose and enable specific form group(s). | When Individual groups are selected, only the form groups corresponding to the selected validation groups will be enabled. |
| Comment | Specify whether to comment this construct or not. Either Yes or No. | By default, it is set to No.If marked as Yes, the construct is treated as a commented expression and ignored in code generation. |
| Description | Provides details about the Enable Form Groups purpose and behaviour. | Helps in understanding Enable Form Groups construct. |
Note: An asterisk (*) denotes that the property is mandatory for adding the enable form group.
The success message displays upon successfully adding the construct.