All the information you need in one place

How to Use the Text Field in Nelio Forms

The text field in a form is the designated field for users to enter a text in your form, whether it is their name, address or any other short text you want them to fill in.

In this entry, we’ll show you all the options available for the text field with Nelio Forms.

Adding a Text Field to Your Form

When creating a new form or editing an existing one, adding an additional text field is as easy as adding a new Text field block in the block editor. You can use the Block Inserter + icon, or a shortcut slash command or use the More options on any of the block’s toolbar to insert a block.

Adding a text field
Adding a text field to a form.

You should add a descriptive label (the text field by default has an empty label) if you want it to be accessible. You have the option to have this label displayed or not in the form.

Naming the descriptive label of a field
Naming the descriptive label of a field.

You can also type a placeholder in the field, which is especially recommended if don’t display the label of the text field in the form.

Preview of a text field with a label
Preview of a text field with a label.
Preview of a text field without a label and a placeholder
Preview of a text field without a label and a placeholder.

Text Field Settings

In the sidebar, you can set the the following text field properties:

  • Limit the minimum number of characters the user should type on the field,
  • Limit the maximum text length,
  • Set whether the field must be filled in the form to be submitted,
  • Set whether the field label should be shown or hidden.
Text field settings
Text field settings.

Moreover, as any other block, you can add additional CSS classes to change the styling of the block.