每当您使用Google 表单(Google Forms)创建表单时,您都可以从互联网上任何拥有您的表单链接或与您共享表单的人那里收集答案。
虽然通过互联网从如此多的人那里获得如此多的意见很有用,但它也会带来问题。人们并不总是以相同的方式回答问题,这可能会给您留下一些难以整理的混乱结果。
为了让事情变得更简单,在您的Google 表单(Google Forms)中设置响应验证是明智之举。这将迫使人们填写表格以您需要的方式回答您的问题。
添加 Google 表单元素
您可以使用 Google 表单创建完整的在线调查(create entire online surveys using Google Forms),甚至可以将它们嵌入您的网站(embed them on your website)。
创建Google 表单(Google Form)的过程需要一个接一个地拼凑元素。
通过登录您的Google帐户并转到Google 表单页面(Google Forms page)来执行此操作。启动空白表单或表单模板,您就可以开始构建您的第一个表单了。
您可以一次添加一个元素,方法是选择右侧的+图标并选择要添加到表单中的元素类型。
在Google 表单(Google Forms)中使用响应验证的能力提供了三种类型的问题。
- 简答(Short answer):单行答案
- 段落(Paragraph):多行答案
- 复选框(Checkboxes):多项选择
这些问题中的每一个都有自己可以设置的验证集。
简答响应验证
当您需要一个简短的答案作为对您的Google Form的回复时,您可以选择该元素右下角的三个点来添加验证。只需(Just)选择响应验证(Response validation)即可。
选择数字(Number)旁边的下拉菜单以查看您可用的各种验证选项。
根据您希望用户如何回答,您可以根据这些选项中的任何一个来限制他们的回答。
以下是每种方法的工作原理:
- Number:将数字条目限制在特定范围内。
- 文本(Text):确保答案包含特定文本。
- 长度(Length):将答案限制为最大字符数。
- 正则表达式(Regular expression):确保答案至少部分包含文本。
每当您在Google Forms(Google Forms)中选择这些响应验证选项中的任何一个时,您都会看到以用户利益为目的的描述性句子中解释的验证限制。
只需定义您想要的验证参数并记住添加错误文本,以便用户在输入超出您指定范围的内容时会看到正确的响应消息。
当您需要诸如“年龄”或“年份”之类的数据并且您希望防止用户意外输入没有任何意义的值时,限制简短的答案很有用。通过这种方式,Google 表单(Google Forms)中的响应验证是一种很好的方式,可以在用户输入不合理的内容时自动检查和提醒用户。
段落响应验证
如果您想在Google Forms中使用段落响应验证,只需在表单中添加一个段落元素。然后选择右下角的三点图标并选择Response validation。
现在,当您选择Length(Length)旁边的下拉箭头时,您会看到只有两个响应验证选项。
这是因为对于段落表单元素,只有限制这两个参数才有意义。这些包括:
- 长度(Length):将输入段落的总长度保持在特定限制以下或以上。这是防止表单用户在段落字段中输入整本书的好方法。
- 正则表达式(Regular expression):确保用户输入的内容包含或不包含特定的单词或短语。
请记住(Remember),如果您想要求用户在段落元素中输入文本,请确保启用“必需(Required)”切换开关。
像这样限制段落条目是一种很好的方法,不仅可以防止答案过长,而且正则表达式验证可以帮助确保用户正在回答所提出的问题。
复选框响应验证
复选框(Checkbox)表单元素也有自己独特的响应验证选项。像上面的其他表单元素一样,添加一个Checkboxes元素,然后选择框右下角的三个点图标。
选择至少选择(Select at least)旁边的下拉箭头以查看复选框(Checkboxes)元素的所有响应验证选项。
如您所见,复选框表单元素的验证选项很简单。这些包括:
- 至少选择(Select at least):要求用户至少选择一定数量的您为他们列出的复选框选项。
- 最多选择(Select at most):限制用户选择不超过列出的固定数量的复选框选项。
- 完全选择(Select exactly):要求用户选择您列出的复选框选项的确切数量。
复选框(Checkbox)响应验证可确保用户不会跳过答案或提供没有意义的有限响应。例如,如果您要求他们从列表中选择 10 个首选项中的 4 个,而他们只选择了 2 个,您需要确保提醒他们忘记选择正确数量的复选框。
您应该在Google 表单(Google Forms)中使用响应验证(Validation)吗?
您不必每次在Google 表单(Google Forms)中使用上述选项之一时都使用响应验证,但只要您需要限制用户超出表单问题的范围,就可以使用它。
在Google 表单(Google Forms)中使用响应验证可能会使填写表单变得过于困难,因此请谨慎使用。但明智地使用它可以帮助确保您不会在表单答案中出现错误或无意义的答案。
How to Set Up Response Validation in Google Forms
Whenever you create a form using Google Forms, you cаn collect answers from anyone on the internet who has а link to your form or who уou’ve shared it with.
While it’s useful to have a way to get so much input from so many people over the internet, it can also introduce problems. People don’t always answer questions the same way, which can leave you with some messy results that are hard to sort through.
To make things easier, it’s smart to set up response validation in your Google Forms. This will force people filling out the form to answer your questions the way you need them to.
Adding Google Form Elements
You can create entire online surveys using Google Forms, and you can even embed them on your website.
The process of creating a Google Form requires piecing together elements one after the other.
Do this by logging into your Google account and going to the Google Forms page. Launch either a blank form or a form template, and you’re ready to start building your first form.
You can add one element at a time by selecting the + icon on the right and choosing which kind of element you want to add to your form.
There are three types of questions that come with the ability to use response validation in Google Forms.
- Short answer: Single line answers
- Paragraph: Multiple line answers
- Checkboxes: Multiple choice selections
Each of these questions have their own set of validations you can set up.
Short Answer Response Validation
When you need a short answer as a response to your Google Form, you can select the three dots at the lower right corner of that element to add the validation. Just select Response validation to do this.
Select the dropdown next to Number to see the various validation options you have available.
Depending on how you’d like your users to answer, you can limit their answer based on any of these options.
Here’s how each works:
- Number: Limit a number entry to a specific range.
- Text: Make sure the answer contains specific text.
- Length: Limit the answer to a maximum character count.
- Regular expression: Make sure the answer contains text at least in part.
Whenever you select any of these response validation options in Google Forms, you’ll see the validation limits explained in a descriptive sentence for the users’ benefit.
Just define the validation parameters you want and remember to add the error text so the user will see the right response message if they type something out of the range you’ve specified.
Limiting short answers is useful for when you need data like “age” or “year”, and you want to prevent the user from accidentally entering a value that doesn’t make any sense. In this way, response validation in Google Forms is a great way to automatically check and alert users when they’ve entered something that doesn’t make sense.
Paragraph Response Validation
If you want to use paragraph response validation in Google Forms, just add a paragraph element to your form. Then select the three dot icon at the lower right corner and choose Response validation.
Now, when you select the dropdown arrow next to Length, you’ll see that there are only two response validation options.
This is because for the paragraph form element, it only makes sense to limit these two parameters. These include:
- Length: Keep the total length of the entered paragraph under or over a specific limit. This is a good way to prevent form users from entering an entire book in the paragraph field.
- Regular expression: Make sure that what the user has entered either contains or doesn’t contain specific words or phrases.
Remember, that if you want to require the user to enter text into the paragraph element, make sure to enable the Required toggle switch.
Limiting paragraph entries like this is a great way to not only prevent extremely long answers, but the regular expression validation can help ensure the user is answering the question that’s asked.
Checkboxes Response Validation
Checkbox form elements also have their own distinct response validation options. Like the other form elements above, add a Checkboxes element and then select the three dot icon at the lower right corner of the box.
Select the dropdown arrow next to Select at least to see all response validation options for the Checkboxes element.
As you can see, the validation options for the checkboxes form element are straightforward. These include:
- Select at least: Require the user to select at least a certain number of the checkbox options that you’ve listed for them.
- Select at most: Limit the user from selecting no more than a fixed number of the checkbox options listed.
- Select exactly: Require the user to select an exact number of the checkbox options you’ve listed.
Checkbox response validation ensures users don’t skip answers or provide limited responses that don’t make sense. For example, if you’re asking them to select 4 out of 10 preferences from a list and they only select 2, you want to make sure to alert them that they forgot to select the right number of checkboxes.
Should You Use Response Validation in Google Forms?
You don’t have to use response validation every time you use one of the options above in Google Forms, but it’s available whenever you need to restrain your users from stepping outside the bounds of your form questions.
Using response validation in Google Forms could make filling out your form overly difficult, so use it sparingly. But utilized wisely, it can help ensure that you don’t end up with mistakes or nonsensical answers in your form answers.