# 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 | (None) |
| 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. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Attributes | mText | String | (None) |
| EnterKeyHint | EnterKeyHints | (None) | Type of enter key to display in on-screen keyboards. |
| Indicator | WebSDKUIControl.Indicators | (None) | Indicator applied to the field. |
| Label | String | (None) | Label text to display for the field. |
| Mask | String | (None) | Mask applied to the field's input value. |
| MaxLength | Integer | (None) | Maximum length of value the user is permitted to enter. |
| MaxValue | Integer | (None) | Maximum integer value the user is permitted to enter. Only applies to some field types in some browsers. Causes validation everywhere. |
| MinValue | Integer | (None) | Minimum integer value the user is permitted to enter. Only applies to some field types in some browsers. Causes validation everywhere. |
| Pattern | String | (None) | RegEx pattern to use for validation. |
| PatternControlsState | Boolean | (None) | When True, the validation of the value using the Pattern RegEx will determine the state of the field. |
| Placeholder | String | (None) | Placeholder text. |
| ReadOnly | Boolean | (None) | When True, users will be unable to modify the text of the field. |
| Required | Boolean | (None) | Determines if a value is required for this control. |
| State | States | (None) | Visual state applied to the control. |
| Text | String | (None) | Value of the field. |
| Type | Types | (None) | The type of field displayed. |