Powered by SmartDoc


Creates a text input field. This element must be used within CKForm or HTML form.

Required attribute: value

Attributes of CKTextField
Attribute Type Description
type String Type of the text field. textis for a normal text input field, passwordis for a password field and hiddenis for a hidden field.
value String Value of the text field. If you set an accessor method to this element, the form data is set to a component automatically by the method.
size Integer Size of the text field.
maxlength Integer Max length of data for the text field.
validate String Format string to validate input value.
pass true/false If validating is passed, the value is true.
enabled true/false If the value is false, the element appears but is not active.