---
title: "textbox — Text box"
description: "iXML command textbox: Text box."
canonical_url: "https://www.zeyos.com/ixml/ref/textbox"
markdown_url: "https://www.zeyos.com/ai/guide/ixml/ref/textbox.md"
section: "ixml-reference"
authority: "reference"
language: "en"
source_repository: "https://cloud.zeyos.com/__doc/ixmldoc.xml"
source_sha256: "a23f04e6a98628ca3c273c3b8dd2c33c034cfda3e0f00478d8793074fd2f70dd"
---

# textbox — Text box

The iXML reference declares `textbox` 2 times. Each declaration is listed separately; do not merge their attributes.

## Declaration 1 of 2 (ixmldoc.xml line 10100)

TEXTBOX represents a form control for editing a data element that is displayed according to a given input type and is attached to a label.

### Attributes
| Name | Type | Default | Description |
| ---- | ---- | ------- | ----------- |
| id | var |  | Identifier |
| label | string |  | Label |
| caption | string | (type dependent) | Caption |
| disabled | bool |  | Disabled |
| required | bool |  | Required |
| readonly | bool |  | Read-only |
| placeholder | string |  | Placeholder |
| width | string |  | Width (CSS) |
| type | type | single | Input type |

#### Possible values
Possible values for `type`:
- single — Single text line
- multi — Multiple text lines
- html — HTML code
- email — E-Mail address
- url — URL
- tel — Telephone number
- password — Password
- count — Count
- num — Number
- percent — Percent
- rate — Rate (in %)
- progress — Progress (in %)
- money — Money
- price — Price
- pricebilling — Price (Billing)
- priceprocurement — Price (Procurement)
- priceproduction — Price (Production)
- size — Size (in bytes)
- weight — Weight (in kg)
- duration — Duration (in minutes)
- date — Date
- datetime — Date and time
- country — Country code (ISO 3166-1 alpha-2)
- currency — Currency code (ISO 4217)
- unit — Unit code (UN/CEFACT Recommendation 20)


### Children
- (none)

### Parents
- (not restricted in the reference)

### Result
- (none documented)


## Declaration 2 of 2 (ixmldoc.xml line 10153)

CUSTOMBOX represents a form control for editing a data element based on a ZeyOS custom field and is attached to a label.

### Attributes
| Name | Type | Default | Description |
| ---- | ---- | ------- | ----------- |
| id | var |  | Custom field identifier |
| label | string | (custom field name) | Label |
| caption | string | (custom field type dependent) | Caption |
| disabled | bool |  | Disabled |
| required | bool |  | Required |
| readonly | bool |  | Read-only |
| placeholder | string |  | Placeholder |
| width | string |  | Width (CSS) |

### Children
- (none)

### Parents
- (not restricted in the reference)

### Result
- (none documented)
