Add Contact form to your Ghost blog

text

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="//formspree.io/me@example.com" 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" />
  </form>Code language: HTML, XML (xml)

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.