Skip to main content

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:

  1. In the designer canvas of an Interface, Master Layout and Component event flow, drag and drop the Enable Form Groups construct.
  2. Double-click the construct to configure the properties as required and then click Save.
PropertyDescriptionComments
LabelLabels 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 SelectionSelect ‘Whole Form’ or ‘Individual Groups’ from the list. Following are the options: Whole Form Individual GroupsIf the Whole form is selected, the whole form will be enabled. If the Individual Groups are selected, a multi-select dropdown (Groups) will appear.
GroupsAllowing 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.
CommentSpecify 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.
DescriptionProvides 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.