In this article we will show you how to do email validation in google forms is just a few simple steps using our custom formula. Simply follow the steps below.
To add a question box to Google Forms, click the Add question icon at the top of the floating box on the right side of the page.
Click the multiple choice drop-down box on the right-side of the question box that appears and Select Short answer instead of the default Multiple Choice.
Then type “Enter your Email” or “Email” as the question. This is arbitrary text.
Alternatively, just type “Email” and Google Forms will automatically change the question type to Short answer.
We can filter the input text by enabling response validation, just like in Google Sheets. To enable response validation, first click the three dots besides the Required toggle in the lower-right corner of the question box. When you hover over it, the More options label should appear. Click it.
You will get two options: Description and Response validation. Click Response validation.
You will get options to set the response validation in the question.
Screencap of this step:
We now need to set the validation options. Click the first drop-down box, then select Regular expression.
Click the second drop-down box, then select Matches.
Screencap of the steps so far:
On the text box labeled Pattern, paste the following code:
[a-zA-Z0-9_\.\+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-\.]+
You can also provide a custom error text via the next text box. For this example, we will use the following error text:
Please provide a valid email address
You are now done! To check the output, click Preview icon on the upper-right corner of Google Forms:
If you try to enter an email address that does not follow the email address format from our regular expression the error text will appear:
If you enter a valid email address format, the error disappears.
We hope you now have a better understanding of how to do email validation in Google Forms. If you enjoyed this article, you might also like our article on how to create Google Forms for event registration or our article on how to add comments to multiple choices in Google Forms. If you want to set up Google Forms email confirmation, we also suggest checking out our detailed guide.