The Integer widget allows users to enter whole-number values. Use this widget to capture quantities, counts, years, sequence numbers, scores, or other numeric data that cannot contain decimal places.
The value of the field can be used in calculations, using the Value in the Form Rules Payload section. For more information, see Creating Form Rules.
The basic properties of the widget are defined in the General tab and are as follows:
| Property | Description |
|---|---|
| Label | Text displayed to users on the form. The label identifies the purpose of the field. For example,:First name. |
| ID | Unique identifier assigned to the widget. The ID is used internally to identify the field within the form definition. For example, Text070upd. |
| Required | Determines whether users must provide a value before submitting the form. When enabled, the field becomes mandatory. |
| Read-only | Determines whether users can modify the field value. When enabled, the field is displayed but cannot be edited. |
| Colspan | Specifies how many columns the widget occupies within the form layout. Use this property to control field width and alignment within grid-based layouts. |
| Rowspan | Specifies how many rows the widget occupies within the form layout. Use this property to control field height and alignment within grid-based layouts. |
| Placeholder | Default text displayed when the field has no value. Placeholders can be used to provide examples or guidance about the expected input. |
| Tooltip | Help text displayed when users hover over or select the field's help indicator. Tooltips provide additional instructions or context about the field. |
The advanced properties of the widget are defined in the Advanced tab and are as follows:
| Property | Description |
|---|---|
| Default value | Specifies the value displayed when the form opens. Users can modify the value if the field is not configured as read-only. |
| Min value | Specifies the minimum number of characters that can be entered, including spaces. |
| Max value | Specifies the maximum number of characters that can be entered, including spaces. |