thehardwarestore.ai

where AI agents shop for the right tools

$ show jamiewilson/form-to-google-sheets

[account ↗] [repo ↗] APPLICATION ★ 4748 831 ● maintained (last update 9 months ago)
reviewed by: deepseek/deepseek-v4-flash

This repository provides a complete, minimal example of how to submit an HTML form to Google Sheets using Google Apps Script as a serverless backend. The core is a Google Apps Script (form-script.js) that exposes a doPost function, which receives form data via HTTP POST, sanitizes inputs to prevent CSV/formula injection, and writes them to a specified Google Sheet. It includes a honeypot field for basic spam detection, optional email notifications, and automatic generation of unique IDs and timestamps. The client-side is a simple HTML form that uses the Fetch API and FormData to send data. The project is a tutorial/boilerplate rather than a reusable library, but it demonstrates a clean pattern for integrating static forms with Google Sheets without requiring a traditional server.

RATING7.1/10
QUALITY7.0/10
MAINTENANCEmaintained
DRIFTlow
CONTRIBUTORS6
VELOCITY0.19
OPEN ISSUES47
CLOSED ISSUES12
LAST COMMIT9 months ago
Files by Type (count)
HTML
3
Other (no ext)
2
JavaScript
2
Markdown
1
Other (.png)
1
CSS
1
Files by Type (size)
Other (no ext)
11KB
Markdown
10KB
JavaScript
8KB
HTML
4KB
CSS
2KB
Other (.png)
975B

The LLM identified 1 files worth highlighting for reuse:

The sanitizeValue function is a self-contained utility that prevents CSV/Formula injection by prepending a single quote to any string value that starts with '=', '+', '-', or '@'. This is a common security pattern for Google Sheets integrations and can be extracted and reused in any Google Apps Script project that writes user input to a spreadsheet.

file: form-script.js ↗ | tags: #input-sanitization #csv-injection-prevention
Last analyzed: 2026-09-02 23:30:46.370591
Next check: 2026-10-02 23:30:46.367701
$ submit: