Giter VIP home page Giter VIP logo

gps2form's Introduction

gps2form

Detect user's location coordinates (longitude and latitude) and redirect to a pre-filled Google or Tally form containing these coordinates.

Google Demo: https://sherbeeny.github.io/gps2form?formType=google&formId=1FAIpQLSe2weLPy-5P5QxoQP0o02hem1wavqLkZqzsTPYOqdueXIibFQ&gpsEntry=272787931&note=You%20are%20going%20to%20a%20Google%20Form%20that%20requests%20your%20current%20location.

Tally Demo: https://sherbeeny.github.io/gps2form?formType=tally&formId=nPp48P&gpsEntry=gmaplink&note=You%20are%20going%20to%20a%20Tally%20Form%20that%20requests%20your%20current%20location.

To use, simply change "TYPE", "ABC", and "XYZ" in the following URL https://sherbeeny.github.io/gps2form?formType=TYPE&formId=ABC&gpsEntry=XYZ&note=ENCODEDNOTE

Where

  1. TYPE is either 'google' or 'tally'.
  2. ABC is the form ID.
  3. XYZ is the where you want the GPS coordinates to be entered in your form.
  4. ENCODEDNOTE is URI encoded text if you want to change the text above the buttons.

Tally Forms Notes: You have to create a Hidden Field and a Logical Condition that changes the answer of the location field based on the value of the hidden field. Name the hidden field and use that name in the gps2form URL.

Google Forms Notes: check this for how to pre-fill a form: https://www.howtogeek.com/774169/how-to-prefill-google-forms-with-certain-answers/ Fill the location field and extract the "entry questions number" from the prefilled URL. Use that number in the gps2form URL.

gps2form's People

Contributors

sherbeeny avatar

Stargazers

Zeinab Zaki avatar Kim Mansur Yano avatar

Watchers

 avatar

Forkers

kimmansur

gps2form's Issues

gpsEntry

I'm having issues to correctly locate the field in my forms. How you defined which forms field will be filled?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.