6
9 Comments

Simplest way to store form data for static website?

I'm building a landing page, and I need to collect some information of those visitors who sign up. My website is completely static (basically a one page fancy HTML) and this would be the only part where I would need some server side code and database if done the traditional way. I'm keen to try and avoid that.

I was wondering if there was a simple plug n play solution to store user form submission data using just an api. What do you guys use?

Edit: Thank you for all your useful responses, guys!

on October 28, 2020
  1. 1

    You may find this article helpful

    static website forms

  2. 1

    Biased because I am one of the founders, but Basin is another option. It has a pretty generous free tier, and is very cost effective if you need more advanced features for your particular use case.

  3. 1

    I would recommend you take a look at https://fabform.io . You can create static site forms with ease, and it has a anti-spam feature to reduce form spam. A free plan is available.

  4. 1

    Just build an HTML form & POST data to MailThis.to/[email protected]
    The data arrives in your mailbox seconds later. Even attachments!

  5. 1

    I use google sheets with PHP. Few lines of config and then one line inserting an array into a new row in google sheets. Shouldn't take more than 10 mins.
    Found this guide: https://vujson.com/post/send-html-form-to-google-sheets-using-php-without-google-forms
    (Im not related to that link in any way)

    Edit: I guess PHP counts as server side code, so sorry if this doesn't work for you.

    Edit2: More detailed video guide https://m.youtube.com/watch?v=iTZyuszEkxI this is what i followed while setting mine up.

  6. 1

    Check out Google Forms. It's the de fact standard for this kind of thing.

Trending on Indie Hackers
AI runs 70% of my distribution. The exact stack. User Avatar 147 comments I'm a solo founder. It took me 9 months and at least 3 stack rewrites to ship my SaaS. User Avatar 137 comments Show IH: I'm building a lead gen + CRM tool for web designers targeting local businesses without websites — starting with Spain User Avatar 79 comments I built a URL indexing SaaS in 40 days — here's the honest story User Avatar 58 comments We could see our AI bill, but not explain it — so I built AiKey User Avatar 25 comments AI coding should not turn software development into a black box User Avatar 11 comments