# Email Field

### 1. How Does the Email Field Display? <a href="#id-2-1-how-does-the-text-area-display" id="id-2-1-how-does-the-text-area-display"></a>

The Email option displays as a single-line textbox, specifically designed to accept valid email addresses. It automatically checks for proper formatting (including "@" and a domain).

> 📝Note: Customers can only enter a valid email address in the Email Field.

Example of how it appears on a product page:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe7O4QeCmcDzkX54FOUR-mARwMAmjxY-4q41vto4toOHmvrODTZlsot-fvAadgy4h5t0w0MnXmTYi8PnkSvV8hHT-Zpl4vCfzJtuxSualS2SW0ARakENNrFVKNQBYqLnjMciQhkwQ?key=DC83dM0yOWsDjpoRFQoUWeuE" alt=""><figcaption></figcaption></figure>

A notification will show up if customers do not enter the correct email format:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcMRk5gQ2SxACkmH2YO19TFWFMEaRMMrwb42bTuZVv_Jiqe5xJ5cI8twRSVus79XER7GbjyawkqhbzDBmYhMmERPFuNWEf4fxFdPeKiu9uVG9zE4MfDJDHQ6Epy5_8DaLTl1hxfAg?key=DC83dM0yOWsDjpoRFQoUWeuE" alt=""><figcaption></figcaption></figure>

### 2. How to Create a Email Field option <a href="#id-2-2-how-to-create-a-text-area-option" id="id-2-2-how-to-create-a-text-area-option"></a>

**Step 1: Add a New Option**

* Click Add Option > Email to create a new option

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcPrfWvDYbDYpOR7Jt6iET0LhzkW6Az4K31JSOMeV3nPfvDeTMOEdHDenHdGUgqmb1fEnmFeqkZMticG7GyetsI_tXk8CDVAGc25clhB2rj0RAt1jCneQVrUDBK8Qt1ubxm1QSIXA?key=DC83dM0yOWsDjpoRFQoUWeuE" alt=""><figcaption></figcaption></figure>

**Step 2: Add information to the Email**

* Enter the name for the Email (e.g., “Enter your email address:")

  <figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcWU4UciupWhPehGHn-jDInGoq4CczmOMAb_mKGl345OL6BDrtP9LEItUyK1G5dx7NWPuHsotIF9f_bRX7hVEGrHMMtgb5bgsp4QRdaKhYMuKpVKBUBeOtLsI4zok01s5qY_PlLsg?key=DC83dM0yOWsDjpoRFQoUWeuE" alt=""><figcaption></figcaption></figure>

**Step 3: Set the target of Price add-on in Option values (optional)**

{% hint style="success" %}
Price Add-on feature will help you add extra fee for options customers choose.
{% endhint %}

How the Price add-on will look on the storefront:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXc8q_W1bZhCT_ddGNU58h1zocbSDqGJxrkko7g3xJTf0cG3Y5o3GbiauOvNCWVIKuEuVHRzXM1U4wxCqnGNxprTpJgReewEO7BiUuhG0_WKlmGeF08LiJzvzsXMafulL3MTpqT-KA?key=DC83dM0yOWsDjpoRFQoUWeuE" alt=""><figcaption></figcaption></figure>

* If you choose to Create fee, see details of this feature in [How to add price to options?](/product-options/getting-started/other-popular-features/manage-add-on-additional-fee-for-option.md).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdwpImaZfNBARqilv2kPCwPdt0VlraGAKBE9vUGZ-D11yq8UwkuAvfReyuLkrQ03NHSS6e4mMF10sSaawQBG0xIbsHx7cLbGi9U5uerRuF8AJ3CXkg7pkqt06yfUXs2mUjtctdBdQ?key=DC83dM0yOWsDjpoRFQoUWeuE" alt=""><figcaption></figcaption></figure>

* If you choose to Upsell product, follow [this guide](https://optis-options-helpdesk.crisp.help/en/article/how-to-use-assign-to-variant-link-stock-and-price-of-shopify-variant-to-option-value-1u73u86/) for more information.

<figure><img src="/files/eCcTuL8Kh19rxGbhacGm" alt=""><figcaption></figcaption></figure>

Other features:

* Price Add-On > Create Fee – [What is it & How to Use](https://www.youtube.com/watch?v=5Bq4t0IrVEU)
* Price Upsell product > Assign to Variant – [What is it & How to Use](/product-options/advanced-setup/how-to-use-upsell-product-link-stock-and-price-of-shopify-variant-to-option-value.md)
* SKU – [What is it & How to Use](https://www.shopify.com/ca/retail/what-is-a-sku-number)
* Quantity – [What is it & How to Use](/product-options/advanced-setup/how-to-use-the-quantity-feature-for-options.md)

**Step 4: Advanced Settings (If Needed)**

{% hint style="success" %}
**Conditional Logic**: Enable conditional logic if you want the Email Field to show/hide only when a customer selects a specific option from another field. [How to set up Conditional logics?](https://optis-options-helpdesk.crisp.help/en/article/how-to-set-up-conditional-logics-1dgigop/)
{% endhint %}

Example: An option “Enter your email address” appears only if the customer selects “Yes” for “Would you like to receive exclusive emails with discounts and product updates?”

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeb_a4L4lzT43fWtH7S7Xz9Ky9jxttsJxfOj1nS8DOOiwASM5UrMTcLBfO-eAYRkMllMt7ZGO11J-hABQjZQROSdofiRqdtkD1oDLweuEGyCUjSYBAhsyNY_4kEEsLhDobzxCJM?key=DC83dM0yOWsDjpoRFQoUWeuE" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
**Help text**: Add a short description to explain the purpose of the Email Field option, offering context or clarification when the customer enters the information. Help text can be displayed as Tooltip or Content (Below/Beside the option title, Below the option).
{% endhint %}

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXftZZ1ZCCt5Yp-TCUnCC6PUPw3_Lg_zD8TvFeDWW4I5fdS7bHsbz8-WpKPJlSO2LrBIC1ygprRXJTXzZunrzboehthEjDhP61qYJJzVh5FQVYIRph5et5XuyNYkIDlrNTTDyOo6cg?key=DC83dM0yOWsDjpoRFQoUWeuE" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
**Default value**: Pre-fill text inside the Email Field that appears every time the customer goes to the site. It can save time for customers by providing common or expected input.
{% endhint %}

How it looks like in your storefront:

<figure><img src="/files/ZD3PsE9nSTBGkquZEpMM" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
**Placeholder text:** Display placeholder text inside the Email Field as a faded, lighter color. This text disappears when the customer starts typing and is often used to give customers a clear example of what should be filled in the field.
{% endhint %}

Here is an example of how it looks like in your storefront:

<figure><img src="/files/I6xp6f5oWZjefWiMdeMM" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
Limit characters: You can set Min/Max characters that customers can input in the Email.
{% endhint %}

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdAeUNv_YCCMFPzDNjIEA2l6dw15PYywFlBs_y08D9FfF-yZJpPznkCL2MiVHLcsPahmq2id8aE3XbABxxZxstuZMhkDpg0JeKK8H2eGPBAIxRb0Airj-dSnDoBhYW4BHbMQpVd1g?key=DC83dM0yOWsDjpoRFQoUWeuE" alt=""><figcaption></figcaption></figure>

If your customers input less than the minimum value, it will show a notification message below. The same with maximum value.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfItpbaTGLr-AmxWkxdwgvaUqvyLiDPcnP8TKWsVYo8wiGqEXplUbX-JZXQTyCT-9kbpoGIdGb1Lyc1yZzAOZX3eZi7h_FPl_NdWCtaoT0gaAUFU88lavHorv9oP9hv2hEgecoLyA?key=DC83dM0yOWsDjpoRFQoUWeuE" alt=""><figcaption></figcaption></figure>

**Step 4: Save and Test**

* Click Save to apply the settings.
* Visit the product page on your store to check if the Email Filed works correctly.

### 3. Real-world Applications of Email Filed

* Account Creation: Register users with a unique email for login and verification.
* Newsletters & Marketing: Let users subscribe for updates, promotions, or restocks.
* Event Registrations: Send tickets, reminders, or digital access links.

### 4. Key Features of Email Filed

* Email fields ensure users enter properly formatted email addresses, reducing errors and improving communication.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.optis.me/product-options/18-option-types/text-input/email-field.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
