What Text Fields Are Available?
After Creating a Form, you can choose from various Form Gadgets to add gadgets 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?
This is an advanced option that makes it possible to enforce custom formatting in this gadget. For example, if you wanted to capture a phone number that would like this: "(555) 555-5555," you could use regular expressions to require the addition of the parenthesis and the dash.
The syntax for regular expressions is more advanced, 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/.