static website forms

fabform3

fabform3

Posted on July 31, 2022

static website forms

If you are using a static site generator SSG like Hugo or Jekyll, there maybe come a time that you may ask yourself, how do I handle forms.

Since static websites don't have a back-end
you can use the services of a forms back-end such as fabform.io that can handle your static website forms

Image description

Simple create a free account at fabform.io

Once you are in fabform, its just a case of creating a forms endpoint and adding the endpoint id to your html form's action method as shown here.

<form action="https://fabform.io/f/{form-id}" method="post">
 <label for="email">Your Email</label>
 <input name="email" type="email">
 <button type="submit">Submit</button> 
</form>
Enter fullscreen mode Exit fullscreen mode

And that's all there is to it.

You now have a fully working contact form working!

💖 💪 🙅 🚩
fabform3
fabform3

Posted on July 31, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

static website forms
webdev static website forms

July 31, 2022