inputEx - Group Usage

Basic Group creation

Use the following code to create a basic inputEx group.

Composition

The inputEx.Group class inherits from inputEx.Field

Updated event

How to listen to the updated event :

Collapsible

Collapsible

Composition

Composition

Field descriptions

Specify field descriptions

Flatten output value for a sub-group

The parent group will then flatten the sub-group value within its value.

In this example, we return {firstname: ..., lastname: ..., title:... } instead of { MySubForm: {firstname: ..., lastname: ...}, title:... }.

Set error messages

Use the setErrors method on Group or Form instances to set error messages. The field will show the message only if the showMsg option is enabled on this field.

This feature is helpful for Ajax forms with server-side validation.