How to Add Geographical Info (Geocode: Longitude/Latitude) to Google Forms
HTML-код
- Опубликовано: 5 сен 2019
- Tutorial on Geo tagging (Geo-stamp and Time-stamp) google forms.
Add info on Latitude, Longitude and Address (Street name and number, city, state, zip code and country) of a device submitting google forms. Linking user’s location within google forms.
Google forms integration with google maps.
Links to download scripts are given below:
1) Code.gs : drive.google.com/open?id=1D4v...
2) Index.html : drive.google.com/open?id=1mYZ...
Hey, if my tutorial was a time saver for you, kindly support me on patreon:
/ khizermehmood97
Thank you Khizer! You've saved a small non-profit a lot of time and money - this was so easy once I actually opened the documents. Love the kitten background.
After several attempts I discovered the reasons why Master Khizer's codes apparently didn't work. I was copying them directly from the Drive file in the Browser. This added expressions to the code, which made it buggy.
You need to OPEN the code for editing, and then COPY the code.
Congratulations Khizer!
Super ! Just curious, can this script collect geo locations when not in cell or wifi range (ex in the field)? using the internal GPS of your phone.
Gracias por tu valiosa contribución. Saludos desde Quito - Ecuador.
You are revealing a lot of personal information in this tutorial including your email and home address
Hatts of for your teaching thanks a lot 🥰❤️ we will support you more and more.. ❤️ keep going.. ❤️
me TypeError: Cannot read property '0' of undefined (line 12, file "code") can someone help me please!
Hi, i have 2 forms in google form which need to use the location. Which part of coding should i change . because it only works for one form
I keep getting error that the script can't run. Is there a html file code that can be copy and pasted from something other than the Lumin pdf add on from google?
The form is stopping at 'GeoCode Entered', and it is not moving forward. Any suggestions?
Hello, I carry out the steps but when publishing the html it is suspended, thinking ... where can the error be? Thanks a lot
Hello Khizer, is there any way i can hide my location if i want to fill a google form ? Thank you
Thank you so much it's great.
But if I want to use the function but in Fluent Form.
is there a possibility ? can you help me?
Thank you very much for the nice tutorial. But, I got some problems. When I access the form with my device, it works. But, when the other device want to access, it need permission to web app. I have tried to change the access setting, but it still same. Would you mind to fix it ? Big thanks
hi, its possible do that but with a html form? and save data into sheet with geolocation too
Hi Dear , I was able to collect the geolocation for the first input only , the other inputs arrives to the google sheet without addresses , why please ?
Sir is there any option to add some other column like Mobile Advertising IDs, Horizontal Accuracy, Timestamp, country codes etc..
Excellent tutorial, thanks for sharing, it cost a lot of work but as at 10 attempts everything was perfect.
Cheers.
I want to make one google form which can capture the location of the respondent. I was searching that how making this feature in google forms & I found this video. As I am not an expert in coding, but I need this coding so that I can make a form which can collect the current location of the respondent. If somebody can help me, I will be thankful for them. Can I have this coding, which is mentioned in this video?
@@maulikgangani5491 You don't need to know coding, just copy paste the code from the links.
Thanks.
kindly support me on Patreon :
www.patreon.com/khizermehmood97
@@ayushjindal6908 what links please? I am currently doing same and need help getting the code.
Hi! At the end, I pushed the block location, how to undo? And make it turn back on again. Thank you!
Thanks for the video. It worked once and the entry was in RED color font. After that we tried submitting from different countries, but it is not capturing the geo coordinates. How can I fix it?
good evening...thanks for sharing...i have this one issue though..some respondent geodata can't be captured but some can. kindly please advised. thanx
hi, i tested to run the finished form on the phone. I have one problem tho... the geocode demo project didn't run as smoothly as it was tested on a desktop chrome. I need help running the geocode demo via phone.
thank you
What lines need to be deleted to deactivate the time-stamp function? google forms automatically time-stamps submissions.
Good work.
How to handle in case the device like mobile is NOT Switched on Location / gprs services ??
I am having trouble and I do not think I have all of the code and index scripts down to make it work properly.
On Manage deployment, when i select Only my self its perfectly, but when i select anyone then it show error as below
Sorry, unable to open the file at present.
Please check the address and try again.
Please guide.
i can run this form on PC & ios but can't android?
it's don't have allow to click. pls tell me, how this work?
If I send the fomr link to someone else, it gives an access denied error. Is there another way to add an activator instead of clicking on a link?
I just saw your video about geolocation because I'm looking for a way to find a lost cellphone with a geolocation script. do you have a script to find a cellphone that has been lost or stolen. because I have lost as many as 4 cellphones.
Am getting an error message at the time of submitting the form by the respondent saying At present, s not available despite i have gdrive account
i try then this message appear. why? Exception: No HTML file named Index was found. (line 2, file "GEOCODE")
getting error while running "This application was created by another user, not by Google.
Terms of Service" what to do
Hola! Me tira un error: Exception: No se ha encontrado el archivo HTML denominado Index. (línea 2, archivo "Codigo GS")
Me podras ayudar?
Dear, after submitting the link "Form Submitted Successfully" is not coming even after changing from "Geo Code Entered". But still isn't working. Please help.
finally I got it! thanks again brother.. gr8 work.
Getting error
Script function not found: doGet
Hello. Thank you for your video! I was able to do this to my form and it worked! BUT only for the 1st 2 entries. Is there something that can go wrong? How can I fix it?
Please help.
ReferenceError: functiondoGet is not defined (line 1, file "Code") occured what to do
ReferenceError: functiondoGet is not defined (line 1, file "Code")
Hi! Can you help me? when clicking on the link, it says "Exception: No HTML file named Index was found. (line 2, file "Code")". What am I doing wrong?
its not working in mobile phone, If I open Google form on mobile then after submission, Geocode does not work
Hi i just tried to do this but when i went to deploy as a web app i got this error message Syntax error: SyntaxError: Unexpected token '&' line: 2 file: Code.gs - does anyone know how to fix that? Cheers Jo
Hi I am not able to deploy
Syntax error: SyntaxError: Unexpected token '{' line: 1 file: Geo.gs
this error msg displays
Really Useful !!! some interface change - little adaptation but successfully done.
Good work man! We'll try now thanks...
Why some geo location inserted in google sheet in red instead of black?
It shows this message at the end of the form submission. "Script function not found: doGet"
hi, can we do exactly like this in microsoft form ? help me
Bro, When we submit this Google form from Mobile Phone its not capturing the Geo location, but its taking from System Please help
i am geeting this pop when i clicked on url GeoCode Entered but location is not come in the sheet please help
Friends,, help meyhh,,"Exception: No HTML file named Index was found. (line 2, file "Code")"
With this coding can we show the location of the office where they have to come ? Please reply.
Script function not found: doGet
getting this error while submitting through link
once click the link it appear geocode entered. but in the sheet nothing
Thank You really! but I'm facing an issue that some people their location doesn't appear in the form despite turning on location
Does the code change if I use different codes
Awesome video! It's a way to import Ip address like Geographical in this video?
It works!! done Subscribed,Thank Man!
Thanks.
kindly support me on Patreon :
www.patreon.com/khizermehmood97
The script is working in desktop.But it's not working in mobile (Android phone). It's through error like.. Sorry,Unable to open the file at this time. How can resolve this ?
Perfect!
Thanks, Man! it works perfectly.
how, can you tell me please, i am not getting the option of publish
10:29:04 AM Error TypeError: Cannot read property '0' of undefined
Please assist to resolve this Error.
This is in getLoc() function.
thank you, genius mister this is amazing
dear where did you get word file where you copied t
i tryed everythings and it is not work, dont show any error and dont show nothing in the excel,
But when i am using the form in smartphone it is not recording the geo data plz reply
Coordinates aren't showing up on google sheets for me.
location access permission dialog box not showing, Plz help
thanks for the most important things but it doesn't work for me & give me a message :
Exception: لم يتم العثور على ملف HTML باسم Index. (السطر رقم 2، الملف "الرمز")
what do you think 🤔
Perfect. That's what I need now.
its only work if respondent fill google form from PC (Laptop or desktop) , if respondent fill form from mobile this technique fail to work khizer bhai
Really thank you. Very useful and clear!
How were you able to get it to work? I was able to execute the code - but I still am unable to attain the longitude, latitude data.
Thank you so much bro, that very good.
If I want to add info on "ComputerName", How to write script for it? Thank you again.
Hi its Nice very Helping us but have one query
im sharing form link to other person who is going to field but not able to get update location please let me know how can share the form and capture field exe location
The system is error ( Exception: No HTML file named Index was found. (line 2, file "Code") ), help me please
check that the html is called Index with capital letters
can you help me to edit this code ?
HELLO; IT WORK BUT THE GIOCO DOEN'T APPEAR ON THE SHEET
Me parece muy practica y útil, lo probaré ahora mismo, luego les comento la funcionalidad
Lo probaste como te fue?
I keep getting error "Script function not found: doGet"
Hello friend can you do all over process on Google form submit button.
how its possible google form submit Geo location get .
not a form submit to next step click this below link ?
Fantastic!!! Good job!!
It does not seem to work with responses on IOS
Its not picking Geo coding from Mobile !
Can someone guide ?
SyntaxError: Unexpected token '{' (line 1, file "Code.gs") error... found
IMHAVING THE SAME ERROR... ANY CLUE???
Bro i keep getting this error >> " Exception: No HTML file named Index was found. (line 2, file "Code") Please guide bro really need your help
Build the whole form use google apps script and you will solve some problem at the same time in this project :)
How to upload in face location in google form please give the solution
Thanks Brother this is very helpful for me ,
Sir html me paste ka data khea se milega please provide me
Exception: No HTML file named Index was found. (line 2, file "Code")
I am getting this error.. someone please help
Up
Super!!!!! Thank You, so much
what is the solution for this erroer-----TypeError: Cannot read property '0' of undefined (line 12, file "Code")
I am getting the same error
ReferenceError: document is not defined (line 1, file "Code"), can you plese comment on this error. Thanks
Double check the spelling of file name 'Code', spelling (case sensitive) must be identical in both file name (name of the file which you downloaded) and as well as in the script editor
It is working fine but for some of the users, the geolocation we are getting, is not correct.
What could be the reason and how can we resolve the same?
Add some delay to the code to return a position successfully.
Thank you Mr. Code Genius
Thanks.
kindly support me on Patreon :
www.patreon.com/khizermehmood97
Tutorial sangat bagus, terimakasih
Hi, I Have problem following your tutorial may you croscek. Thanks
nama backsoundnya apa?
Great! Thank you. The web app won't capture mobile data though, is that correct? If so, is there a way around it?
Ya lo probaste? Tambien me interesa saber si funciona en movil.
@@Leover378 we use it but do not work in mobiles..... any advance about this? THANKS!
Not working, kindly resolve
Showing error
SyntaxError: Unexpected token '{'(line 2, file "Code.gs")
it's a copy paste error. Correct the pasted file.
how to insert picture?