> For the complete documentation index, see [llms.txt](https://options-docs-v2.avisplus.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://options-docs-v2.avisplus.io/option-types/all-option-types/hidden-field.md).

# Hidden field

The **Hidden Field** option type is used to include data that isn’t visible to customers on the product page but appears in the cart and order details. This is useful for adding hidden information or metadata that doesn’t require customer interaction but needs to be tracked through the purchasing process.

***

## **Basic** Option Settings:

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

#### **1. Option Name**

This is the internal name used within your app to identify the hidden field. It helps keep your options organized during setup but won’t be shown to customers.

#### **2. Label on Cart**

This label will appear next to the hidden field’s value in the cart summary, checkout, and order details, helping to identify the hidden information.

#### **3. Default Value**

This is the preset value that will automatically be included with the hidden field. It’s useful for consistently applying certain data across all orders without customer input.

#### **4. Conditional Logic**

Allows the hidden field to be applied only when specific conditions are met, based on other customer selections. This is useful for dynamically adding hidden data when certain criteria are fulfilled.

{% hint style="info" %}
[How to set up Conditional logic for your options](https://options-docs-v2.avisplus.io/app-features/conditional-logic-option-b-shows-if-option-a-is-selected)
{% endhint %}

***

## **Advanced** Option Settings:

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

#### **1. Class Name**

Assigns a custom CSS class to the hidden field, allowing for specific styling or behavior management in the cart or order details.
