# Studio Two Editor: Adding and Customizing Input Elements

Source: https://support.wix.com/en/article/studio-two-editor-adding-and-customizing-input-elements (updated 2026-11-24)
Related: Wix developer documentation, https://dev.wix.com/docs/llms.txt; Help Center index, https://support.wix.com/en/llms.txt

> This article refers to the new Studio Two Editor, released in November 2026\. If you're unsure whether you’re using the Studio Editor or the Studio Two Editor, [view more information here](https://support.wix.com/en/article/studio-two-editor-the-difference-between-studio-editor-and-studio-two-editor).

Add input elements so visitors can type or select information on your site, such as their name, a date or a time. For example, create a sign-up form where visitors type their name and select a date, then click a button to submit their details.

Each input element connects to a data source that holds what the visitor types or selects. To save these entries, add a button that runs a function from the data source when visitors click it. For example, the function can save each submission as a new item in a CMS collection. Aria can set up the data source, the button and the collection for you.

![Screenshot of a text input, dropdown, date picker and time picker on a Studio Two site.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2026/11/19/95a235e8-feee-40b7-a7e4-2cd64dcafb79/InputElements-FourInputs-v1.png)

> **Important:** Visitors can only use an input element after you connect it to a data source. Until you connect the input, visitors can't type in it or select an option.

---

## Adding an input element

Add input elements from the **Add Elements** panel. Choose the input that matches what you want visitors to do:

* **Text input:** Type short text, such as a name or an email address.
* **Dropdown:** Select 1 option from a list.
* **Date picker:** Select a date from a calendar.
* **Time picker:** Select a time.

### To add an input element:

1. [Go to your editor](https://manage.wix.com/account/site-selector/?actionUrl=https%3A%2F%2Fwww.wix.com%2Feditor%2F%7BmetaSiteId%7D%3FeditorSessionId%3D%7Besi%7D%26).
2. Hover over the **Add Elements** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/651c25b0-2d60-43c8-addf-1df2fd575568/2026/07/03/9c03a257-d8e4-43c3-80da-ef30b0b73154/18b082af-6d24-4be7-b34e-707d9a3d8166.png) on the top left of your editor.
3. Select **Elements**.
4. Click **Inputs**.
5. Click the relevant tab: **Text input**, **Dropdown**, **Date picker** or **Time picker**.
6. Click the input to add it to the page, or drag it to where you want it.
7. Connect the input to a data source. Learn how to [connect an input to a data source](#connecting-an-input-to-a-data-source).

---

## Connecting an input to a data source

Connect each input element to a data source so visitors can use it. The data source holds what the visitor types or selects. The quickest way to connect an input is to ask Aria. Describe what you need, and Aria creates a custom code source and connects your input to it. Aria can also connect the input's error message and event handlers at the same time.

> **Tips:**
>
> * **Use an existing source:** Connect the input's value setting the same way you connect other elements. Learn more about [connecting elements to data sources](https://support.wix.com/en/article/studio-two-editor-about-data-sources).
> * **Start from the Settings tab:** You can also click **Set Up with AI** at the top of the **Settings** tab in the Inspector.
> * **Change the source later:** Ask Aria to change or fix the source. Learn more about [using Aria to code your site](https://support.wix.com/en/article/studio-two-editor-using-aria-to-code-your-site).

### To connect an input with AI:

1. [Go to your editor](https://manage.wix.com/account/site-selector/?actionUrl=https%3A%2F%2Fwww.wix.com%2Feditor%2F%7BmetaSiteId%7D%3FeditorSessionId%3D%7Besi%7D%26).
2. Select the input on the page.
3. Click the **Open Inspector** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/651c25b0-2d60-43c8-addf-1df2fd575568/2026/07/03/7a2108d4-e689-4bc2-ab56-4cd429ad0062/7e829fa7-aefd-41bf-9201-836a19bff654.png) at the top right of the editor.
4. (If not already open) Click the **Settings** tab.
5. Click the **Connect to data** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2026/07/31/5b9616f3-b367-4151-9641-1aae4c08c996/ConnectCMSicon.png) next to the input's value setting: **Value** for a text input, **Selected value** for a dropdown, **Selected date** for a date picker or **Selected time** for a time picker.
6. Click **Set up with AI** at the top of the **Connect to Data** panel.
7. Describe what you want the input to do (e.g. "Create a data source that keeps the name a visitor types in this field. Show an error message if the visitor leaves the field empty.").
8. (Optional) Click **Preview** at the top right of the editor to test the input.

![Screenshot of the Set up with AI option in the Connect to Data panel for a date picker.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2026/11/19/140ac183-d4dc-4fd4-a803-1e3f13dcf6b2/InputElements-ConnectToData-v1.png)

---

## Letting visitors submit their entries

Add a button so visitors can submit what they typed or selected. When a visitor clicks the button, the button runs a function from your data source that saves the entries. For example, the function can save each submission as a new item in a CMS collection.

Ask Aria to set this up for you. Aria can add the button, create the function, connect the function to the button's **On Click** event handler and create the CMS collection.

> **Tips:**
>
> * **If Aria doesn't finish:** Ask Aria to try again.
> * **Collection permissions:** Visitors can only submit entries to a collection that lets them add content. When Aria creates the collection, Aria sets its permissions to **Collect content**. Learn more about [collection permissions](https://support.wix.com/en/article/cms-collection-permissions-overview).
> * **Use your own function:** If your data source already has a function that saves entries, select the button and choose the function under **On Click** in the **Event handlers** section. Learn how to [add an event handler](https://support.wix.com/en/article/studio-two-editor-about-data-sources).

### To let visitors submit their entries:

1. [Go to your editor](https://manage.wix.com/account/site-selector/?actionUrl=https%3A%2F%2Fwww.wix.com%2Feditor%2F%7BmetaSiteId%7D%3FeditorSessionId%3D%7Besi%7D%26).
2. Select an input element on the page.
3. Click **Ask AI** on the action bar.
4. Describe what should happen when visitors submit their entries (e.g. "Add a Submit button. When a visitor clicks it, save the name in this text input as a new item in a CMS collection called Sign-ups. Show a success message after the item is saved.").
5. Click **Preview** at the top right of the editor to test the button: fill in the inputs and click the button.
6. Open the collection in your CMS to check that the submission was added as a new item.

---

## Setting up an input

Choose the text visitors see in and around your input, such as the label above the field and the helper text below it. For each setting, you can type the text or connect the setting to a data source.

> **Important:**
>
> * **Error message:** Leave this setting empty and connect it to a data source. If you type text here, the error message shows all the time, even when the visitor's entry is valid.
> * **Value setting (e.g. Value, Selected date):** A value you type here stays the same when visitors use the input. Connect this setting to a data source to keep what visitors type or select.

### To set up an input:

1. [Go to your editor](https://manage.wix.com/account/site-selector/?actionUrl=https%3A%2F%2Fwww.wix.com%2Feditor%2F%7BmetaSiteId%7D%3FeditorSessionId%3D%7Besi%7D%26).
2. Select the input on the page.
3. Click the **Open Inspector** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/651c25b0-2d60-43c8-addf-1df2fd575568/2026/07/03/7a2108d4-e689-4bc2-ab56-4cd429ad0062/7e829fa7-aefd-41bf-9201-836a19bff654.png) at the top right of the editor.
4. (If not already open) Click the **Settings** tab.
5. Set up the input using the settings in the table below.
6. Connect the input's value setting and the **Error message** setting to a data source. Learn how to [connect an input to a data source](#connecting-an-input-to-a-data-source).

| Setting | What it does | Inputs |
| --- | --- | --- |
| Label | Shows a name above the field. Screen readers read the label aloud, so give each input a clear label. | All |
| Placeholder | Shows hint text inside the field before the visitor fills it in (e.g. "Enter your name"). | Text input, dropdown |
| Value, Selected value, Selected date or Selected time | Holds what the visitor types or selects. Connect this setting to a data source. | All |
| Helper text | Shows a short tip below the field. | All |
| Error message | Shows a message below the field when the visitor's entry isn't valid. Connect this setting to a data source. | All |
| Read only | Visitors can see the value, but can't change it. | All |
| Disabled | Visitors can't use the input. | All |
| Options | Sets the options visitors can select. To show options from a CMS collection, connect this setting to an Array field in the collection. | Dropdown |

---

## Designing an input

Design each part of your input separately, such as the label, the field and the helper text. For a dropdown, you can also design the list and its options. For a date picker, you can design the calendar that opens, including its header, weekdays and dates.

### To design an input:

1. [Go to your editor](https://manage.wix.com/account/site-selector/?actionUrl=https%3A%2F%2Fwww.wix.com%2Feditor%2F%7BmetaSiteId%7D%3FeditorSessionId%3D%7Besi%7D%26).
2. Select the input on the page.
3. Click the **All design options** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/59ab096e-e0a0-4b06-ad46-bd78e940c7f1/2026/07/22/375e5844-2445-425d-9084-d72e10b1ca22/image.png) on the action bar.
4. (In the Inspector) Click the **Design** tab.
5. Click the **Choose what to design** dropdown and select the part you want to design (e.g. **Label**, **Helper text**, **Error message**).
6. Customize the part using the available options.

---

## Adding event handlers to an input

Run a function from one of your data sources when a visitor uses your input. For example, check an email address when the visitor clicks out of the field. You can find **Event handlers** under **Advanced** in the **Settings** tab of the Inspector.

Choose the event that runs the function. Each type of input has its own set of events:

* **On Value Change:** Runs when the input's value changes (e.g. a visitor selects a new date).
* **On Input:** Runs each time a visitor types or deletes a character. Text inputs only.
* **On Key Down:** Runs when a visitor presses a key in the field.
* **On Key Up:** Runs when a visitor releases a key in the field.
* **On Focus:** Runs when a visitor clicks or tabs into the field.
* **On Blur:** Runs when a visitor clicks or tabs out of the field.
* **On Open Change:** Runs when a visitor opens or closes the calendar. Date pickers only.

Learn how to [add an event handler](https://support.wix.com/en/article/studio-two-editor-about-data-sources).

---

## FAQs

Click a question below to learn more about input elements in the Studio Two Editor.

**Why can't visitors type in my input or select an option?**

Visitors can only use an input after you connect it to a data source. Check that you connected the input's value setting (e.g. **Value**, **Selected value**) to a source. Learn how to [connect an input to a data source](#connecting-an-input-to-a-data-source).

**Why doesn't my dropdown keep the option a visitor selects?**

This happens when the dropdown's **Selected value** setting is connected to a field in a CMS collection. The collection can show a value in the dropdown, but it can't hold the visitor's choice. Connect **Selected value** to a custom code source instead. Learn how to [connect an input to a data source](#connecting-an-input-to-a-data-source).

**Why does my error message show all the time?**

The error message shows all the time if you typed text in the **Error message** setting. Delete that text, then connect the setting to a data source. After you connect the setting, the error message shows only when a visitor's entry isn't valid (e.g. the visitor leaves the field empty).

**Where can I see the entries visitors submit?**

Your data source's function decides where the entries go. If the function saves them to a CMS collection, open the collection in your CMS to see each submission as an item. Learn how to [let visitors submit their entries](#letting-visitors-submit-their-entries).

**What's the difference between input elements and Wix Forms?**

Use Wix Forms when you want a ready-made form that collects submissions in your site's dashboard and sends email notifications. Use input elements when you want to build your own fields and choose where each submission is saved. Learn more about [adding and customizing a form](https://support.wix.com/en/article/studio-two-editor-adding-and-customizing-a-form).
