Validating addresses with google

When you are expecting dozens, or even hundreds, of responses in your Google Forms, it is always a good idea to have some rules in place and respondents data should be matched against these rules even before they submit the form.For instance, if your form is asking for a person’s year of birth, they should only be allowed to enter a number between 19.

validating addresses with google-30validating addresses with google-38

The method described here uses Google Maps’ Geocoding API.The field will now accept input value like 1920, 2010 but would reject other values that fall outside the range.A regular expression may appear gibberish but they aren’t so difficult to read and understand if you can know the basic rules of the language.URL (Web domain) – this is useful for fields that require the user to enter their website address and it even matches the upcoming TLDs like .directory or .restaurant.The other regex matches You Tube URL including those using the domains.6.

Leave a Reply