Middleman is a static site generator using all the shortcuts and tools in modern web development. Middleman is an open source project with an active community and is used by companies like MailChimp and thoughtbot.
It’s easy to setup caching for a static site. Best of all, because there’s no backend system sites built in Middleman load incredibly fast.
Static sites built in tools like Middleman are super performant. However, there is one place they all fall short: forms. Since there’s no backend, there’s no place to route your form submission data.
So, how can you keep your site simple and fast but give your users the ability to submit forms? How about setting up email alerts or kicking off automated workflows?
We built FormKeep to help designers and developers create forms easily.
FormKeep is incredibly fast to setup and provides the form backend for
you. Simply set the action attribute on your
form tag to
FormKeep and you can start accepting submissions. We also have several
integrations to help you route data to tools like Trello and Salesforce.
Here's how to use FormKeep to add a form to your Middleman site.
Here's the process:
<form accept-charset="UTF-8" action="https://formkeep.com/f/XXXXXXXXXXXX" method="POST"> <input type="email" name="email" placeholder="Your Email"> <input type="text" name="name" placeholder="Your Name"> <input type="hidden" name="utf8" value="✓"> <button type="submit">Submit</button> </form>
You guessed it:
XXXXXXXXXXXX is just a placeholder.
Don't worry, account creation is super fast.
All that's required is a name for your form. FormKeep will provide a unique string to identify your form.
No need to change anything other than the XXXXXXXXXXXX bit. You can send us any data you like.
If you like, you can simply visit FormKeep when you want to view your entries. Or you can forward them along via email or to one of our many integrations. Whatever works for you.
Putting a contact form on your static Middleman site has never been easier. Why not get started now?Create your form