Add Slider
Audience:
Low-code EngineersSkill Prerequisites:
Forms,Tokens
Adds a horizontal slider for choosing a number to a Dynamic Field Container when the form loads. It works like a Slider field placed in the form builder.
See Dynamic Fields for how dynamic fields work and how to set up the container.
Typical Use Cases
- Collect a rating for each item in a list, for example 1 to 10
- Let users choose a percentage or an amount within a range
Don't use it to
- Collect exact numbers that are easier to type. Use Add Number Input instead.
Related Actions
| Action Name | Description |
|---|---|
| Add Number Input | Adds a number input. |
Input Parameter Reference
This action has the common parameters, except Secure Input and the custom validators. Readonly is shown but has no effect. It also has:
| Parameter | Description | Supports Tokens | Default | Required |
|---|---|---|---|---|
| Min Value | The lowest value on the slider. | Yes | empty string | No |
| Max Value | The highest value on the slider. | Yes | empty string | No |
| Step Value | How much the value changes with each step, for example 1 or 5. | Yes | empty string | No |
| Start Text | A label shown at the start of the slider, for example Poor. | Yes | empty string | No |
| End Text | A label shown at the end of the slider, for example Excellent. | Yes | empty string | No |
| Display Tool Tip | Enter true to show the selected value in a tooltip while dragging. | Yes | empty string | No |
| Help Text | Help text shown below the slider. | Yes | empty string | No |
Output Parameters Reference
| Parameter | Description |
|---|---|
| Field ID Token Name | Optional. Token that receives the cleaned field ID. If empty, the ID is saved in [<FieldId>:Name]. |
When the form is submitted, the selected number is available in [<FieldId>]. If the user didn't move the slider and there's no initial value, the value is Min Value.
Examples
To understand how to use the below examples, please see Running Examples.
1. Add a 1 to 10 rating
Add this action to the form's On PreInit or On Init actions. It adds a rating slider from 1 to 10 to the ExtraFields container, starting at 5.
{
"Title": "Add Slider",
"ActionType": "AddDynamicSlider",
"Description": "Add the satisfaction rating",
"Condition": null,
"Parameters": {
"ContainerId": "ExtraFields",
"FieldId": "Satisfaction",
"FieldName": "How satisfied are you?",
"InitialValue": "5",
"MinValue": "1",
"MaxValue": "10",
"StepValue": "1",
"StartText": "Not at all",
"EndText": "Very",
"DisplayToolTip": "true",
"HelpText": "",
"FieldIdTokenName": ""
}
}
Revised 09/25/2026