Would you like to limit the number of words or characters that a user can enter into certain fields in your form? Long entries can be hard to review, and in some cases may not fit your goals for a form. In this tutorial, we’ll show you how to easily restrict the length of Single Line Text and Paragraph Text fields.
Adding a Character or Word Limit
Before we get started, you’ll need to create a new form or open up the form builder for an existing form.
Once your form builder is open, be sure to add either a Single Line Text field or a Paragraph Text field. Then, go ahead and click on this field in the preview area to open its Field Options.
Within the Field Options panel, click on Advanced Options to open this additional section. This will display many more options, including a checkbox labeled Limit Length.
When you check this box, two additional fields will display:
- Number Input: Enter a numeric value to use as the maximum limit.
- Character/Word Dropdown: Choose whether you’d like to limit by individual character or word totals. If using characters, keep in mind that spaces, periods, etc all count (not just letters).
Note: If using characters for the length limiter, keep in mind that spaces, periods, etc all count (not just letters)
After setting up these options how you’d like, be sure to save your form.
Testing Your Form
For the last step in this setup, we recommend testing your form so you can check that it looks and works how you’d like. Our detailed guide on testing forms shares our full checklist of testing steps.
For this particular feature, the main thing you should notice when testing your form is the text showing how many words or characters have been used and are allowed.
Once the limit is reached, the user will not be able to enter any additional characters in this field.
That’s it! You can now limit the number of words or characters that a user can enter into your Single Line Text and Paragraph Text fields.
Next, would you like to customize your form’s automatic notification emails? Notification emails can easily include a header logo, custom background color, and custom content. Be sure to check out our tutorial on setting up notification emails for all the details.