Table of Contents


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

PropertyDescription
IdThe ID of the HTML element.
ValueBind value containing the name of the object and the field to bind. 
LabelLabel of a field within the section. 
RequiredA 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.
HintA text value that is shown to the user on the right side of the input component to assist the user.
HideLabelA 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.
EnabledBind value containing the name of the object and the field to bind. 
AutoCompleteTurns the input component's auto-complete on/off - true/false values.
FormatUse 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.
PlaceHolderText is shown inside the input component as a watermark.
RowsNumber of visible rows if the component format is TextArea.
ColumnsNumber of visible columns if the component translates into "cols" if the component is TextArea, otherwise it will be used as a "size" attribute.
WidthThe width of the input component. The value can be provided in pixels or in percentages.