# Text

Text field renders a simple text input.

## Example configuration

```php
...
array(
    'title' => 'My text field title',
    'id' => 'text-option',
    'desc' => 'Short description for the field',
    'type' => 'text',
    'place' => array(
        'page' => 'my-options-page',
        'tab' => 'main',
    ),
),
...
```

This will produce the following

![](https://2294767099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LKMTiOPVR7pXWhebz7q-887967055%2Fuploads%2Fgit-blob-92a03286a5246dbfc66bb3c844ac0c9ff3939203%2Ftext.png?alt=media)

## Params

| Name    | Type   | Description                                                      |
| ------- | ------ | ---------------------------------------------------------------- |
| `type`  | string | `text` **(required)**                                            |
| `id`    | string | Unique ID that will be used to retrieve the value **(required)** |
| `place` | array  | Specifies where (page and tab) this option will be rendered      |
| `title` | string | Shows a heading to the left of the field                         |
| `desc`  | string | Shows a description text (can have HTML)                         |


---

# 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.alchemy-options.com/fields/text.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.
