This takes the input of a regular HTML form and when the submit occurs, sends the data to a web-app published via AppScript to a google form. Email is also triggered to the listed email-ids with all the information in the GET
- jQuery
- Setup Form and copy
script.js
- Make sure that jQuery is setup before
script.js
- Make a google sheet
- On google sheet go to Tools -> <>Script Editor
- Copy all the files in the
gs
folder- Go to
get_request_to_sheets.gs
and run setup => allow permissions - Go to
email.gs
and run email() => allow permissions - Change
ToEmail
inemail.gs
to the list of people you want the email to go to.
- Go to
- Publish -> web app
- Who has access to the app -> anyone, even anonymous
- get the url and paste it into
script.js
- Handle error and success and show corresponding messages
- Built a better HTML form (Maybe using Bootstrap)