Home > iTechnology > Validate Email Address in Google Form

Validate Email Address in Google Form


Google Form provides a good function to check the respondents’ answer in accordance with customized guidelines. Here is how to set a regular expression to make sure the respondent fill in a valid email address:

  1. Create a form.
  2. From the Insert menu, select “Text” from the list.
  3. Click Advanced Settings at the bottom of the question.
  4. Select Data validation to show the data validation options.
  5. Select Regular expression, Matches.
  6. Copy “^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$” to the “Patten” field.
  7. Copy “Invalid email address.” to the “Custom error text” field.
  8. Done.

Now, respondents who enter invalid email address will see an error message “Invalid email address.”

References:

  1. Validate answers in your form. https://support.google.com/drive/answer/3378864?hl=en
  2. Apps Script Tutorial: Validation. http://www.googleappsscript.org/user-interface/validation
Advertisements
Categories: iTechnology
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: