ValueSlider
The ValueSlider field allows you to select a numerical value.
Â
Field options
Name | Type | Description |
---|---|---|
name | string | The name by which the field will internally be referenced |
displayText | string | The main field label displayed above the field |
description | string | An additional description displayed below the main label |
defaultValue | string | The value the field should initially be filled with. This field needs to be a valid id of an existing entry. |
options | object | Additional field options (see below) |
options.required | boolean | Whether the field must be filled to advance |
options.readOnly | boolean | Whether it’s allowed to change the field value |
options.confirmation | boolean | Whether to include this field in the confirmation page |
options.min | number | The minimum allowed value. Defaults to 0 |
options.max | number | The maximum allowed value. Defaults to 100 |
options.step | number | Specificies the stepping interval. Defaults to 1 |
JSON Example
{
"name": "UserCount",
"displayText": "User count",
"description": "How many users do you expect?",
"type": "ValueSlider",
"defaultValue": "50",
"options": {
"required": true,
"step": 1,
"min": 10,
"max": 100
}
},
Copyright Treskon GmbH.