Skip to content

controls: text

Tady edited this page May 14, 2019 · 10 revisions

controls | header | text | textarea | paragraph | select | checkbox-group | radio-group | file | date | number


  • Single-line text field.
Field Name Description Is required?
Label label for the field element. recommended
Class

The class attribute is used to define styles for elements in css file.Required for developers. For future use.

no

Type The type attribute specifies the type of element to display.
Options:
Text field - Free text field - There is no limit to the character type.
password - Password field.
email - Email field - Restricts to email address format.
color - Colors selection field (currently not working in IE browser).
tel - Colors selection field (currently not working in IE browser).
yes
Required

The required attribute is a boolean attribute.When present, it specifies that an input field must be filled out before submitting the form.<br>Displays a red asterisk next to the field label.

no
Help Text Displays a question mark next to the field label. When you move with your mouse cursor, the help text is displayed inside a tooltip no
Placeholder

The placeholder attribute specifies a short hint that describes the expected value of an input field (e.g. a sample value or a short description of the expected format).

The short hint is displayed in the input field before the user enters a value.

no
Name

The name attribute specifies a uniq name for the element.

This name attribute used as a reference when the data is submitted.

yes
Value Initial value to field no
Max Length Limit the number of characters allowed in a field. If blank then there is no limitation (but limited in the settings of the database). no