aspx:FieldText
This component renders an HTML input that can be used for single-line text, multi-line text, password, currency, email, number, phone and URL.
<aspx:FieldText id='Name' runat='server' value='{!Model.Name}'/>
Properties
| Property | Description |
|---|
| Id | The ID of the HTML element. |
| Value | Bind value containing the name of the object and the field to bind. |
| Label | Label of a field within the section. |
| Required | A Boolean value that specifies whether this inputField is a required field. If set to true, the user must specify a value for this field. If not selected, this value defaults to false. |
| Hint | A text value that is shown to the user on the right side of the input component to assist the user. |
| HideLabel | A Boolean value that specifies whether this field's label should be visible or not. If set to false, the input component spans across the entire row. |
| Enabled | Bind value containing the name of the object and the field to bind. |
| AutoComplete | Turns the input component's auto-complete on/off - true/false values. |
| Format | Use one of the following values: Text, TextArea, Password, Precent, Currency, Email, Number, Phone, URL, Search. This property is useful when you are not binding to a model and using the component independently. |
| PlaceHolder | Text is shown inside the input component as a watermark. |
| Rows | Number of visible rows if the component format is TextArea. |
| Columns | Number of visible columns if the component translates into "cols" if the component is TextArea, otherwise it will be used as a "size" attribute. |
| Width | The width of the input component. The value can be provided in pixels or in percentages. |