Form questions are a great way to collect various kinds of information from respondents in a single question, using validation to ensure that responses are in the format you need them.
Want to learn more about our question types? Enroll in our Question Types Overview course in the Lighthouse Academy!
1. Building a Form Question
2. Using Validation
As you begin adding fields, blue validation rules will appear on the right side. Validation rules limit what respondents can or must enter in order to advance to the next question. If you leave it blank, any entry will be accepted.
There are three placeholder symbols that we use in the validation rules. The pound or hashtag symbol stands for a digit, star stands for a letter, and underscore stands for any character. For example, you can limit the response to 3 digits by adding 3 hash signs in the field on the right. You may also add extra validation conditions in conjunction with underscore.
You can define letter or number ranges by separating the symbols with a hyphen and placing them in braces.
If the letters or numbers you want to accept are not sequential, list them separated by commas and with no spaces in braces.
With some additional rules and brackets, you can accommodate an even larger number of characters. Below are some additional examples:
Also, you can combine braces and brackets in the same validation rule.
Some special fields, like emails and dates, are described with special codes. There are many modifications that you can use from our library.
If you type something in the right column that our platform doesn't recognize as a validation rule, it will prefill the field with that phrase. This is useful when you want to prefill a currency or frequency and ask respondents to fill out the amount.
If text remains black, it will not be highlighted in the validation rule field, and indicates that it will be shown as read-only text to respondents.
3. Analyzing Form Questions
On the Result page, form questions display a bar chart summarizing how many responses were collected for each field.
Take a test drive on real-world results for this question type! Explore a live demo report.