Form Simple Item
This article describes configuration options of a simple form item.
A simple form item is an editor-label pair usually bound to a formData object field used to display and modify this field.
You can also create a simple item without binding it to a formData field. For example, it can be a check box that allows a user to confirm his agreement to process entered data.
For detailed information on creating simple items, see the Create Simple Items topic.
Specifies the number of columns spanned by the item.
Specifies a CSS class to be applied to the form item.
Specifies the path to the formData object field bound to the current form item.
Specifies configuration options for the editor widget of the current form item.
Specifies which editor widget is used to display and edit the form item value.
Specifies the help text displayed for the current form item.
Specifies whether the current form item is required.
Specifies the type of the current item.
The structure of the form item object depends on the value of this option.
This article describes the structure of an item whose type is "simple". The following item types are also available.
Group item is a section consisting of a caption and child form items. You can customize the layout options for each group separately.
Tabbed item is a tabbed panel whose tabs contain child form items. You can customize the layout options for each tab separately.
Empty item is an empty span between neighboring items. You can specify the number of columns spanned by an empty item.
Specifies the form item name.
Use this option if you need to create a form item without binding it to a formData field. You can use the item name to identify this form item when calling any of the following methods.
A template to be used for rendering the form item.
A binding context of an item template is an object containing the following fields. So, you can bind template elements to these fields directly. To access another binding context within an item template, use Knockout/Angular binding variables.
An instance of the current Form widget.
A formData object field bound to the form item being rendered.
The configuration object of the current form item editor.
An array of validation rules to be checked for the form item editor.
Specifies whether or not the current form item is visible.
Specifies the sequence number of the item in a form, group or tab.
Items whose visible indexes are not specified are located at the end of the sequence and are ordered alphabetically.