Skip to content

Text Box

TextBox is a single-line, XPath-bound input. It inherits Size, PlaceHolder, RequiredForGroup, rules, and hints from the shared text-control behavior.

Input Types

Set Type to one of Text, Password, EMail, Search, Url, or Tel. The type selects the browser input type and its icon. In read-only state, Password is masked, while EMail and Url render as links. Password inputs use new-password autocomplete to avoid filling an existing credential.

Length and Mask

MaxLength limits input length and defaults to 255. InputMask is optional; when supplied, the client applies the configured masked-input pattern. A mask guides entry but does not replace server-side validation of the saved value.

Example

1
2
3
4
5
<TextBox XPath="Customer/Email" MaxLength="320" InputMask="" Type="EMail" Size="Large" RequiredForGroup="">
    <PlaceHolder><![CDATA[[email protected]]]></PlaceHolder>
    <Hints><![CDATA[]]></Hints>
    <Rules />
</TextBox>