# CMS: Adding and Setting Up a Slider Input Element

Source: https://support.wix.com/en/article/cms-adding-and-setting-up-a-slider-input-element (updated 2026-11-11)
Related: Wix developer documentation, https://dev.wix.com/docs/llms.txt; Help Center index, https://support.wix.com/en/llms.txt

Add a slider input element to give visitors a way to select from a range of numbers and submit their selection to your collection.

![A screenshot of a slider input element on a page.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/9fece466-836a-4dbb-b473-f21bfa85fc71/2019/06/16/64c9c2a7-37fc-440d-bed3-3d972683cdc5/9f77cb49-7a29-4b0e-ab35-23b33a0eac9e.png)

> **Before you begin:**
>
> * Make sure to [add the CMS](https://support.wix.com/en/article/cms-formerly-content-manager-getting-started) to your site if you haven't already.
> * Make sure you have [a collection with suitable permissions](https://support.wix.com/en/article/cms-creating-a-custom-form-with-input-elements-that-submit-to-your-collection#step-1-create-a-collection-and-set-the-permissions) for storing submissions from the slider input element.

> **Note:** Input elements aren't available in the Wix Harmony Editor, so visitors can't filter your content or submit items to your collection. To collect information from visitors, add a form with Wix Forms instead. Learn more about [features that work differently in Wix Harmony](https://support.wix.com/en/article/wix-harmony-whats-new-with-the-cms#features-that-work-differently-in-wix-harmony).

---

## Step 1 | Add and set up the slider

After adding the slider to your page, customize the settings, layout and design of this input element.

**Wix Editor:**

1. Click **Add Elements** ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/f0656688-8ed1-488a-888d-62373b7c3a3c/2021/08/23/fb2504cd-afa3-47dd-8e84-4cd32a0ea1ed/653ea261-d479-44ae-8509-7735843df25c.png) on the left side of the editor.
2. Click **Input**.
3. Click **Slider**.
4. Click and drag the slider element of your choice onto the page.
5. Click **Settings** on the slider element.
6. Enter the **Field title** that will display at the top of the slider.
7. Choose the **Slider type:**  
   * **Continuous:** Visitors can select any value within the range you define.  
   * **Stepped:** Visitors can select specific values from a range you define. Select an option under **Set steps by**:  
         * **Step Value:** Enter the value of each step. The step value is divided by the value range you set below.  
         * **Number of steps:** Enter the number of steps that will appear in the slider.
8. Under **Value range**, choose the minimum and maximum value for your slider and what value you want to be selected by default.
9. (Optional) Click the **Read only** checkbox to restrict the slider from being used to write content to the collection. This is helpful if you're using the element to display content rather than submit it.
10. Click the **Layout** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/09/12/734557c6-c0b4-447f-b06b-913a6cdda087/7d44f8a6-1640-4519-95a4-01eafb2f0dcf.png) to edit additional settings. Set the spacing, handle appearance, steps layout, value label, prefixes and suffixes.
11. Click the **Design** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/09/12/33af6f0f-b6ab-4e51-b58b-44f286e77642/959a4c6f-2294-42c7-ac5f-576b1be782d3.png) to choose a preset design. Then click **Customize Design** to adjust the design further.

**Studio Editor:**

1. Click **Add Elements** ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/06/14/cef22a14-dfc9-43c7-a54f-72ed83266050/741248d2-4240-497e-a282-2a7d15d8afac.png) on the left side of the editor.
2. Click **Input**.
3. Click **Sliders**.
4. Drag the slider element of your choice onto the page.
5. Click **Settings** on the slider element.
6. Choose the **Slider type**:  
   * **Continuous:** Visitors can select any value within the range you define.  
   * **Stepped:** Visitors can select specific values from a range you define. Select an option under **Set steps by**:  
         * **Total number:** Enter the number of steps.  
         * **Value:** Enter a step value.

![The slider element in the Studio Editor, alongside the Settings panel](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/09/10/795880dd-4be3-42b0-be98-f2b5a14cc86d/bbf44e96-495d-456e-873e-92831ecc3604.png)

1. Under **Value range**, choose the minimum and maximum value for your slider and what value you want to be selected by default.
2. (Optional) Click the **Read only** checkbox to restrict the slider from being used to write content to the collection. This is helpful if you're using the element to display content rather than submit it.
3. Click the slider element and select the **Layout** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/09/12/5b409bb9-7658-4435-8125-dd9cf6760d7d/44e4410f-27cf-48ee-ab17-5cf00e9b61cd.png) to edit additional settings. Set the spacing, handle appearance, steps layout, value label, prefixes and suffixes.
4. Click the slider element and select the **Design** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/09/12/33af6f0f-b6ab-4e51-b58b-44f286e77642/959a4c6f-2294-42c7-ac5f-576b1be782d3.png) in the Inspector panel to customize the design.

---

## Step 2 | Connect the slider to the CMS

Connect the slider to a dataset that connects to the collection where the submissions will be stored. You can connect to an existing number field type or create a new one in your collection.

**Wix Editor:**

1. In your editor, click the slider element.
2. Click the **Connect to CMS** icon![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/59ef43fb-880d-46b2-bdce-82e4aaffaaec/2020/07/04/49602af9-3e86-4883-9ae4-a88f13ea85c9/d7fb62f6-ed05-401e-ac3f-6a0f5ce4b20f.png) .
3. Click the **Choose a dataset** drop-down and select an existing dataset that connects to your collection. Alternatively, click **Add a Dataset**, then choose the collection you want to connect, give the dataset a name and click **Create**.
4. Click the **Selected value connects to** drop-down and choose the number field that the slider submits to.  
**Tip:** Select **+ Add** to [add a new collection field](https://support.wix.com/en/article/cms-formerly-content-manager-adding-a-field-to-a-collection) for storing the submissions.
5. Set the dataset mode and collection permissions:
6. Click **Dataset Settings** in the panel on the right.
7. (Optional) Click the [permission type](https://support.wix.com/en/article/cms-collection-permissions-overview) next to **Permissions** to determine who can view, add, update, or delete collection content.
8. Click the **Dataset mode** drop-down and select the relevant option:  
   * **Write:** Connected [input elements](https://support.wix.com/en/article/cms-about-user-input-elements) can add new items to the collection, but cannot edit existing items.  
   * **Read & Write:** Connected elements can update existing items in the collection. If you connect a ['New' button](https://support.wix.com/en/article/cms-about-dataset-click-actions-for-buttons-and-images#new), visitors can use it to update existing items and add new items to your collection.
9. [Create a submit button](https://support.wix.com/en/article/cms-creating-a-custom-form-with-input-elements-that-submit-to-your-collection#step-5-create-a-submit-button) that visitors click to submit their inputs.

**Studio Editor:**

1. In your editor, select the slider.
2. Click the **Connect to CMS** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/06/27/6e952b5f-2cf2-497a-aeec-46874283c118/21e5aec3-4642-4cbb-9249-fcb120551b6b.png).

![A slider element alongside the Inspector panel in the Studio Editor, connecting it to a dataset and a value](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/09/10/91b8d5d2-7d81-4a85-a931-ceac5fc05642/b3aa84f0-7ddb-4a65-b46b-c1bd1cc39025.png)

1. Add or connect a dataset by clicking an option from the Inspector panel on the right:  
**Note:** The options vary, based on your total collections and datasets on the page.  
   * **Add a Dataset:** Choose the collection in which you will store the submissions, give the dataset a name and click **Create**.  
   * **Choose a dataset:** Click the drop-down and select the dataset you want to connect.
2. Click the **Selected value connects to** drop-down and choose the number field that the slider submits to.  
**Tip:** Select **+ Add** to [add a new collection field](https://support.wix.com/en/article/cms-formerly-content-manager-adding-a-field-to-a-collection) for storing the submissions.
3. Set the dataset mode and collection permissions:
4. Click **Dataset Settings** in the panel on the right.
5. (Optional) Click the [permission type](https://support.wix.com/en/article/cms-collection-permissions-overview) next to **Permissions** to determine who can view, add, update, or delete collection content.
6. Click the **Dataset mode** drop-down and select the relevant option:  
   * **Write:** Connected [input elements](https://support.wix.com/en/article/cms-about-user-input-elements) can add new items to the collection, but cannot edit existing items.  
   * **Read & Write:** Connected elements can update existing items in the collection. If you connect a ['New' button](https://support.wix.com/en/article/cms-about-dataset-click-actions-for-buttons-and-images#new), visitors can use it to update existing items and add new items to your collection.
7. [Create a submit button](https://support.wix.com/en/article/cms-creating-a-custom-form-with-input-elements-that-submit-to-your-collection?tabs=Studio-Editor-8#step-5-create-a-submit-button) that visitors click to submit their inputs.
