# GraffitiControlGroupTextField
Class Inherits GraffitiControlGroupItem
## Enumerations
| Name | Value | Description |
| --- | :---: | --- |
| EnterKeyHints | Enter <br> Done <br> Go <br> NextFocus <br> PreviousFocus <br> Search <br> Send | Supported enter key button hints (for Mobile operating systems). |
| States | Unvalidated <br> Valid <br> Invalid | Supported validation states. |
| Types | Text <br> Color <br> Date <br> DateTime <br> DateTimeLocal <br> Email <br> Month <br> Number <br> Password <br> Search <br> Telephone <br> Time <br> URL <br> Week | Supported field types. |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Add | item as String | (None) | Adds a new string value to the end of to group. |
| AddAt | index as Integer <br> item as String | (None) | Adds a new string value at the specified index within the button's menu. |
| Constructor | text as String | (None) | Creates a new instance of the class. |
| IndexOf | item as String | Integer | Returns the index position of the specified string value within the button's menu. |
| ItemAt | index as Integer | String | Returns the string value at the specified index position within the button's menu. |
| LastIndex | (None) | Integer | Returns the index of last string value within the button's menu. |
| Operator_Convert | (None) | JSONitem | |
| Remove | item as String | (None) | Removes the specified string value from the button's menu. |
| RemoveAll | (None) | (None) | Removes all string values from the button's menu. |
| RemoveAt | index as Integer | (None) | Removes the string value at the specified index position from the button's menu. |
| Attributes | Hidden | ToString | |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Attributes | mText | String | |
| EnterKeyHint | EnterKeyHints | Nil | Type of enter key to display in on-screen keyboards. |
| Indicator | WebSDKUIControl.Indicators | Nil | Indicator applied to the field. |
| Label | String | Nil | Label text to display for the field. |
| Mask | String | Nil | Mask applied to the field's input value. |
| MaxLength | Integer | Nil | Maximum length of value the user is permitted to enter. |
| MaxValue | Integer | Nil | Maximum integer value the user is permitted to enter. Only applies to some field types in some browsers. Causes validation everywhere. |
| MinValue | Integer | Nil | Minimum integer value the user is permitted to enter. Only applies to some field types in some browsers. Causes validation everywhere. |
| Pattern | String | Nil | RegEx pattern to use for validation. |
| PatternControlsState | Boolean | Nil | When True, the validation of the value using the Pattern RegEx will determine the state of the field. |
| Placeholder | String | Nil | Placeholder text. |
| ReadOnly | Boolean | Nil | When True, users will be unable to modify the text of the field. |
| Required | Boolean | Nil | Determines if a value is required for this control. |
| State | States | Nil | Visual state applied to the control. |
| Text | String | Nil | Value of the field. |
| Type | Types | Nil | The type of field displayed. |