What Text Fields Are Available?
After Creating a Form, you can choose from various Form Elements and Fields to add fields to your form. Three of these gadgets create fields that allow the end user to input text: Short Text, Long Text, and Rich Text.
When making your form choices, consider the differences between the text input fields:
- Length of desired end user input
- Text formatting abilities
Short Text is for short, 2-3 word input (name, etc.). You can configure a minimum and maximum character limit to this field by going to Advanced Settings.
Long Text is for longer text (think multiple sentences or paragraphs). This input field can NOT be formatted by the user. You can configure a minimum and maximum character limit to this field by going to Advanced Settings.
Rich Text is also for longer text (think multiple sentences or paragraphs). The difference between Rich Text and Long Text is that Rich Text can be formatted by the user.
What is the Regular Expression Setting in a Short Text Field?
Regular expressions are a way to validate the answer a submitter gives on a form based on a pattern. For example, if you want to validate an account number, and account numbers are always a capital A followed by 7 digits, you can validate what your user puts on the form with a regular expression.
The syntax for regular expressions can be a bit daunting, but simple patterns like the one mentioned above are pretty approachable. There are several resources available on the internet to help you understand regular expressions, and while we don't endorse a particular site, we have found that this resource is often helpful for our customers: https://regexone.com/.