Text field
A Text field takes one line, such as a name or a subject. Drag Text from the field buttons into the code, or click it to add one where the cursor is.
<label>Your name *
[[your_name]]
</label>
Settings
| Setting | What it does |
|---|---|
| Placeholder | A hint in the empty field. It goes away as soon as visitors type. |
| Default value | Text already in the field when the page opens. Visitors can change it. |
| Fill from | Where the starting value comes from: a URL parameter, a shortcode attribute, the page or the logged-in user. See Fields. |
| Min length | The fewest characters visitors must type. Empty: no limit. |
| Max length | The most characters visitors can type. Empty: no limit. |
| Autocomplete | A hint for the browser, such as name, email or tel. |
| Required | Visitors must fill it in to send the form. |
| Style, CSS classes, ID, Custom attributes | Shared by most fields. See Fields. |
In the mail
[your_name] prints what the visitor typed.
Example
Set Fill from to URL parameter on a field named subject. A link ending in ?subject=Pricing then opens the form with Pricing already in it.
Was this article helpful?
Thanks for your feedback!