TextBox
You can use the Value attribute of a text box to automatically fill in the current date or the employee ID of the current user. To show the current date in a text box, set the Value attribute to CurrentDate. To show the employee ID of the current user, set the Value attribute to CurrentEmployee.
A text box can have these attributes, in addition to the common control attributes:
| Attribute | Description |
|---|---|
| ActionButtonType | Type of action button to show for this text box. Currently the only supported value is Search. |
| HasPopup | Indicates whether the text box has a popup button. |
| HintText | Hint text that is displayed in the text box. |
| Image | Image that is displayed next to the text box. |
| KeyboardType | Type of keyboard that the mobile app will show for this text box. You can specify one of these options:
|
| MaxLength | Maximum number of characters allowed in the text box. |
| Moniker | Moniker of the component that supplies the values for the popup associated with the text box. For example, you would enter Hansen.Resources.Employee for an employee popup. |
| MultiLine | Indicates whether the text box supports multiple lines of text. |
| Required | Indicates whether the field is required. |
| ShowDefault | Indicates whether the text box will show a default 0 or 1 if no value is present. For example, the default value for primary keys is 1. If you set the value to False, then the text box will show a blank rather than 1 if no value is present for a primary key. |
| Styles | List of text styles to apply to the text box. |