> For the complete documentation index, see [llms.txt](https://docs.stylemixthemes.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stylemixthemes.com/cost-calculator-builder/calculator-elements/text-box.md).

# Text

The **Text** element allows you to add a simple text area field into your calculator for extra notes.

### Element Tab

The Text element has the following attributes in the Element tab:

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FLZbn2N9FfyvV8lbTxdZN%2Fimage.png?alt=media&amp;token=165a7657-4eb9-431a-910c-5f70bc1e9e19" alt=""><figcaption></figcaption></figure>

* **Name** - Title of the element
* **Placeholder** - The input text that will be initially shown in this element
* **Description** - Description of the element
* **Element width -** set the width of the field relative to the width of the calculator in 100% scale. You will see the changes in real time.
* **Max. Number of Characters** - You can define the maximum number of characters a user can input

### Settings Tab

The Text element has the following attributes in the Settings tab:

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2F9JjzfNVkPdlwsOSio8kZ%2Fimage.png?alt=media&amp;token=45594516-c716-4081-a7d8-53d28fd322c4" alt=""><figcaption></figcaption></figure>

* **Hidden by Default** - The element will be hidden until a corresponding [condition](https://docs.stylemixthemes.com/cost-calculator-builder/calculator-elements/pages/OneKKwO4j2k65VfBcrvD#id-1.-hidden-by-default) is met
* **Additional Classes** - Add extra classes to the HTML elements to further style changes
* **Required** - You can make the field required

### Example of Using Text Element

Below you can see an example of the Text Element in the Graphic Designing template:

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FYZhuqVTvvyZbfPCdisf5%2Fimage.png?alt=media&amp;token=ec3522b6-6a0d-43ca-9f06-68ed0c7ec78e" alt=""><figcaption></figcaption></figure>

How it will look on the user’s page:

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2F3CvIrqOrnW2jJRmDIdaG%2Fimage.png?alt=media&amp;token=6ab27c5e-9821-41de-9ebb-7ba2e82a2baa" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.stylemixthemes.com/cost-calculator-builder/calculator-elements/text-box.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
