Add Contact form to your Ghost blog

Ghost does not ship with the functionality of a form, so we must choose a third-party service and there is one Formspree. It lets you add forms to a static site which is great since all we need to do is embed an HTML5 form that does not require any coding skill. All you need to do is replace your email address in place of

  <form id="contactform" action="//" method="POST"> 
   <input name="name" type="text" placeholder="Your name" />
   <br />
   <input style="width: 140.3px; border-top-right-radius: 0px; border-bottom-right-radius: 0px;" name="_replyto" type="email" placeholder="Your email" data-bcup="attached" />
   <br />
   <textarea name="message" placeholder="Your message"></textarea>
   <br />
   <input type="submit" value="Send" data-bcup-haslogintext="no" />

Once you add this form submit it and it will ask you to verify the setup by sending you mail on that address once verified your form is ready. Thank you for reading, for more posts stay tuned.

By Darryl Dias

I am a 3D artist who spends this time creating renders and sequences that tell a story and at other times write code and Linux based development work

Leave a comment

Your email address will not be published. Required fields are marked *