Building a Jekyll Contact Form
Slapform was made for sites on platforms like Jekyll, so this is a super easy task.
To use Slapform with an HTML form on a Jekyll site, you just need to paste our form template on your site and add your email. Then you can start receiving submission straight to your inbox!
Copy-paste this code and just change [email protected] to your own email.
<form method="POST" action="https://api.slapform.com/[email protected]"> <input type="email" name="email"> <textarea type="text" name="message"></textarea> <button type="submit">Submit</button> </form>
<input> element needs to have the
name attribute in order to be received properly by Slapform.
Upon submitting a form you've enabled with Slapform, you simply receive the data in an email. No backend code required!