Input-group widget

The input-group widget is a collection of input widgets, for example, in a form.

Example

Property

This widget inherits all the properties of the Input widget. It also has the following properties:

Property

Description

Data type

id

Unique identifier of this widget.

string

inputGroupText

Text grouped with this input.

string
type Rich-media type, which is always InputGroup. string

Code sample

var obj = {
    "widgetType": "form",
    "nodes":
    [{
            "id": "widget1",
            "controls": {
                "0": {
                    "type": "InputGroup",
                    "id": "input5",
                    "inputGroupText": "@",
                    "placeholder": "name",
                    "event": {
                        "name": "eventinputchange"
                    },
                    "validation": {
                        "required": {
                            "value": true,
                            "error": "Name is required"
                        }
                    }
                }
            }
        }
    ]
}