Add-on: List Text
List Text is a Gravity Forms add-on that controls the text people type in List Field columns. Add email validation, custom regex validation with your own error message, multiline textareas and placeholder text, per column, in single and multi-column List Fields, without code.
What you can do with List Text
- Require a valid email address in a column with Enable Email Validation.
- Check a column against your own regular expression with Enable Custom Validation (RegEx), for example
/^\d{5}$/for exactly five digits, and show a Custom Error Message. - Turn a column into a multiline text area with Enable Textarea, and set its height in lines.
- Show a Placeholder such as “Enter email” while a column is empty.
Each column uses one text option: email validation, regex validation or textarea.
Where to start
Pick the page for the option you need below. For regex validation, Creating a Regular Expression for Validation explains how to write and test a pattern.
Requirements
- Gravity Forms 2.5 or later
- WordPress 5.0 or later
- PHP 7.0 or later
Features and pricing are on the List Text product page.
Creating a Regular Expression for Validation
How to use regular expressions to validate input in a List Text column.
Enable Email validation
How to enable e-mail validation in a List Field. That way you can force valid emailaddresses to be entered in a List Field Column.
Enable Textarea
How to turn a column in a List Field into a Text area. This provides more room to type text.