ExpressionEngine Docs

Range Slider Fieldtype

The Range Slider fieldtype allows the user to select numerical value. It is rendered as range HTML input type with some additional styling, allowing users to precisely select the value.

The Range Slider fieldtype shows two sliders on the same scale, allowing to select a range of numbers (from…to).

slider field

Field Settings

Template Tags

The Range Slider can be rendered as a single template tag as well as tag pair.

Single tag

{my_range_slider_field}

The output would be similar to

12 - 43

Single Tag Parameters:

decimal_place="2" The number of decimal digits to show after the number

prefix="yes" Include prefix before the value, as specified in field settings

suffix="yes"

Single Tag Modifiers

{my_range_slider_field:min}

Field minimal possible value, as specified in settings.

{my_range_slider_field:max}

Field maximal possible value, as specified in settings.

{my_range_slider_field:prefix}

Field prefix, as specified in settings.

{my_range_slider_field:suffix}

Field suffix, as specified in settings.

{my_range_slider_field:from}

First range slider value.

{my_range_slider_field:to}

Second range slider value.

Tag pair

{my_range_slider_field}
between {from} and {to}
{/my_range_slider_field}

The output would be similar to

between 12 and 43

Tag Pair Parameters:

decimal_place="2" The number of decimal digits to show after the number

prefix="yes" Include prefix before the value, as specified in field settings

suffix="yes"

Tag Pair Variables:

{from}

First range slider value.

{to}

Second range slider value.