textbox

Purpose

A textbox is used to let users input text data.You colud assign value, type, constraint, rows, cols to a textbox by the corresponding properties. When you assigns the property type to a string value 「password」 when multiline is false( multiline will be true if You set rows large then 1 or sets multiline to true directly) then any character in this component will replace by '*'.

Examples

<z:textbox value="text..."/>
<z:textbox value="secret" type="password"/>
<z:textbox constraint="/.+@.+\\.[a-z]+/: Please enter an e-mail address"/>

Description

Attributes

ZK Official Reference

Component Reference

Show textbox Component Reference

Java API

Show textbox Java API