Single Line Text fields are the most commonly used field type. They are typically used to insert a small amount (or single line) of text, such as a name or a city.
Standard field options
A Single Line Text field has the following options:
Default values and field icons
The default value icons can be used to specify whether the text entered in a Single Line Text field on the form builder page should be a default value or a placeholder. Learn how to set a default value and how to set a placeholder in a text field.
Field action icons allows you to duplicate, delete, and/or move a field on the form builder page. See the field action icons article for more information.
Field-specific options
Max Characters
Set a maximum character in a field to limit how many characters can be displayed.
Format
Use the Format field option to make sure users provide information in the right format. This can range from phone numbers to postal codes to serial numbers, and much more!
Learn more about customizing the format and input mask for your fields.
Autocomplete attribute
This field setting allows you to set an autocomplete HTML attribute. The autocomplete attribute asks the browser to attempt autocompletion based on user history. Read more about the Autocomplete attribute.
The options give context to autofill features in browsers. For example, if you choose Birthday as an option, Safari can take your Birthday from your profile details and insert it into the form. When using a password or number field, only the appropriate options are included in the selection. Note: The autocomplete attribute will be used in favor of an attribute found in custom HTML.
Display single line text fields
Display the value submitted in a Single Line Text field in a form's confirmation message, email, or View. Just insert [x], where x is the ID or key of the Single Line Text field.
If you haven't created a View before, read more about creating a View.
Related developer hooks
- Capitalize every letter in a text field with the frm_validate_field_entry hook