Text Box¶
TextBox is a single-line, XPath-bound input. It inherits Size, PlaceHolder, RequiredForGroup, rules, and hints from the shared text-control behavior.
XML Fields¶
Value and Input Type¶
XPathidentifies the form-data field that the widget reads and updates.TypeselectsText,Password,EMail,Search,Url, orTel. It changes the input affordance and the read-only presentation: passwords are masked; e-mail and URL values are presented as links.MaxLengthlimits the entered character count.InputMasksupplies an optional entry mask; it guides entry but does not replace a validation rule for the saved value.
Layout, Help, and Validation¶
Sizecontrols the widget width within its container.PlaceHolderis text shown inside an empty editable field.RequiredForGroupmakes the field mandatory when a button validates that group.Hintssupplies help text.Rulescontains formatting rules and validation rules that can change the field state or reject an invalid value.
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 | |