# Text Item

## Description

## Declaration

```
<input
    name                = ""
    type                = "text"
    data-type           = "{char|number|date}"
    master-item-name    = ""
    sequence-name       = ""
    value               = ""
    maxlength           = ""
    column-name         = ""
    insert-allowed      = "{yes|no}"
    update-allowed      = "{yes|no}"
    format-mask         = "" />
```

## Properties

### name Property

**Mandatory :** yes\
**Unique :** yes\
**Data Type :** char\
**Default Value:** -\
**Predefined Values Allowed:** -

### type Property

**Mandatory :** yes\
**Unique :** no\
**Data Type :** char\
**Default Value:** text\
**Predefined Values Allowed:**  { text | submit | button | checkbox | radio }

### data-type Property

**Mandatory :** yes\
**Unique :** no\
**Data Type :** char\
**Default Value:** -\
**Predefined Values Allowed:**  { char | number | date }

### master-item-name Property

**Mandatory :** no\
**Unique :** no\
**Data Type :** char\
**Default Value:** -\
**Predefined Values Allowed:** -

### sequence-name Property

**Mandatory :** no\
**Unique :** no\
**Data Type :** char\
**Default Value:** -\
**Predefined Values Allowed:** -

### sequence-schema-name Property

**Mandatory :** no\
**Unique :** no\
**Data Type :** char\
**Default Value:**  Data block's schema name\
**Predefined Values Allowed:** -

### value Property&#x20;

**Mandatory :** no\
**Unique :** no\
**Data Type :** char\
**Default Value:** -\
**Predefined Values Allowed:** -

### maxlength Property

**Mandatory :** no\
**Unique :** no\
**Data Type :** number\
**Default Value:** -\
**Predefined Values Allowed:** -

### column-name Property

**Mandatory :** no\
**Unique :** no\
**Data Type :** char\
**Default Value:** -\
**Predefined Values Allowed:** -

### insert-allowed Property&#x20;

Not implemented yet

**Mandatory :** no\
**Unique :** no\
**Data Type :** bool\
**Default Value:** yes\
**Predefined Values Allowed:** {yes|no}

### update-allowed Property

Not implemented yet

**Mandatory :** no\
**Unique :** no\
**Data Type :** bool\
**Default Value:** yes\
**Predefined Values Allowed:** {yes|no}

### format-mask Property

**Mandatory :** no\
**Unique :** no\
**Data Type :** char\
**Default Value:** -\
**Predefined Values Allowed:** -

## Triggers

### &#x20;["item\_modified" trigger](../../built-in-triggers/item_modified-trigger)

## &#x20;**Allowed Inner HTML Elements**

None

## &#x20;**Related Built-in Functions**

### [hide\_column](../../built-in-functions/sodium-built-in-functions/other-functions/hide_column)

### [show\_column](../../built-in-functions/sodium-built-in-functions/other-functions/show_column)

### [disable\_column](../../built-in-functions/sodium-built-in-functions/other-functions/disable_column)

### [enable\_column](../../built-in-functions/sodium-built-in-functions/other-functions/enable_column)
