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
I'm a lawyer who launched an AI contract tool on Product Hunt today — here's what building it as a non-technical founder actually felt like User Avatar 150 comments A simple way to keep AI automations from making bad decisions User Avatar 65 comments Never hire an SEO Agency for your Saas Startup User Avatar 55 comments “This contract looked normal - but could cost millions” User Avatar 54 comments 👉 The most expensive contract mistakes don’t feel risky User Avatar 41 comments I spent weeks building a food decision tool instead of something useful User Avatar 28 comments