[text] – Text

[text name="your_text"]

Text field.

Attributes:

AttributeExamplesDescription
name*name="unique_field_name"The field name. Needs to be unique in the form.
Required.
valuevalue="Text"
value="{user.first_name}"
value="{field.field_name}"
The initial field value.
Optional.
placeholderplaceholder="Insert text here"Text displayed when the field has no value.
Optional.
minmin="10"Minimum characters length allowed.
Optional.

NOTE: Shortcut of minlength attribute.
maxmax="100"Maximum characters length allowed.
Optional.

NOTE: Shortcut of maxlength attribute.
patternpattern="Regular expression"
pattern="[a-zA-Z0-9]+"
pattern="\d+"
A regular expression the field value should match.
Optional.

This field also supports common HTML attributes, as well as label & description attributes.