Formingo and Hugo are the perfect companions. Hugo, a static website engine, is a tool for developers to create performant static websites. One significant drawback, however, is that static websites cannot do any processing-- including something as simple as a contact form.
Formingo is a service that handles all of the backend processing for you so that you can embed a contact form in your static Hugo website.
Embedding a Formingo form into your Hugo static website is very easy and can be done in only a couple steps.
First, you must create an HTML form on your Hugo site. You should use plain HTML
input tags, just as if you were creating a form for some other service. For example, a contact form might look something like this:
<form method="POST" action="https://email@example.com"> <input type="text" name="full_name"> <input type="email" name="__replyto"> <input type="submit" value="Contact"> </form>
Next, simply change the example email address in the form's
action attribute to your own email address.
That's it. You can immediately start using the form and submissions will be sent directly to your email address.
Once you receive your first submission, you will be required to confirm your email address. Simply click the verification link sent to you and you will receive all past and future form submissions.
For more information, you can read about advanced settings, such as those used to change the email's subject line or the reply to address.