[range] – Range

[range name="your_range" min="" max=""]

Allows to input a number between a range using a slider. Requires "min" and "max" attributes.
Also supports decimal numbers, using the "step" attribute.

Attributes:

AttributeExamplesDescription
name*name="unique_field_name"The field name. Needs to be unique in the form.
Required.
valuevalue="Text"
value="{user.first_name}"
value="{field.field_name}"
The initial field value.
Optional.
placeholderplaceholder="Insert text here"Text displayed when the field has no value.
Optional.
min*min="1"
min="0.1"
Minimum number allowed.
Required.
max*max="100"
max="1.0"
Maximum number allowed.
Required.
stepstep="1"
step="5"
step="0.1"
step="0.5"
Maximum number allowed.
Default: 1.
Optional.
patternpattern="Regular expression"
pattern="\d{3}"
pattern="\d{1,10}"
A regular expression the field value should match.
Optional.

This field also supports common HTML attributes, as well as label & description attributes.