All Projects → dwyl → Web Form To Google Sheet

dwyl / Web Form To Google Sheet

Licence: gpl-2.0
A simple example of sending data from an ordinary web form straight to a Google Spreadsheet without a server.

Labels

Web Form to Google Sheet (No Backend)

A simple example of sending data from an ordinary web form straight to a Google Spreadsheet without a server.

I created this code for a client, but it is not up-to-date. I recommend checking out the walkthrough repo below instead: https://github.com/dwyl/html-form-send-email-via-google-script-without-server



Why? (context)

A friend called and asked for a favor:

"Can you set up a web form that posts data to a Google Spreadsheet
without a (server) backend...? (We need it done by tomorrow)"

Never one to turn down a chance to help a friend and learn something new, I agreed to the task!

Whaaaat? (you can build things without backend?!)

The plan is to simulate the POST request an actual Google Form sends when it submits a survey response to its google ("results") spreadsheet. Sounds simple. it is. kinda ...

How? >> Google Apps Script

This repo is just a quick example I made. If you want a full step-by-step tutorial, see: https://github.com/dwyl/html-form-send-email-via-google-script-without-server

Email

An additional requirement was to send an email (IKR!) when ever the HTML Form is submitted.
Thankfully, Google has a good Method for doing this: MaillApp

Phase 2 - Phone Number Experiment

Hypothesis: for high value items some people will prefer to speak to a person on the phone instead of emails. Therefore having a form input for Phone Number will "convert"" better than email.

I've added two new files: _lon-phone.html and _par-phone.html to test this Hypothesis.

Want More?

If you want more, please ask!



Background Reading

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].