https://github.com/scriptraccoon/contact-form-gs
contact form built using google apps script
https://github.com/scriptraccoon/contact-form-gs
Last synced: 3 months ago
JSON representation
contact form built using google apps script
- Host: GitHub
- URL: https://github.com/scriptraccoon/contact-form-gs
- Owner: ScriptRaccoon
- License: mit
- Created: 2020-05-31T06:45:57.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-26T00:02:59.000Z (over 2 years ago)
- Last Synced: 2024-05-30T16:49:52.491Z (about 2 years ago)
- Language: HTML
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Contact Form (Google Apps Script)
This simple contact form is built using Google Apps Script. No PHP is required.
The folder "contact-form-script" has
- Code.gs: Google script which sends e-mails (backend)
- index.html: displays the contact form (frontend)
- script.html: frontend JavaScript communicating with the backend
- style.html: styling the frontend
_Instructions._ Save Code.gs as a [Google script](https://script.google.com) in your Google account and append the html files to it. Make sure to add your email in Code.gs. Deploy the script as a [web app](https://developers.google.com/apps-script/guides/web) executed by yourself and with access to anyone. Copy the public link.
This link could be already used as a contact form, however it doesn't look nice with the warning by Google in the header. Also you probably would like to include the contact form into your website.
This is what the folder "contact-form-site" is made for. Include the public link of the web app into the iframe source in contact-form.html. The warning by Google goes away when you include the web app in an iframe.