alembic icon indicating copy to clipboard operation
alembic copied to clipboard

[Question]: Facing problem with Contact Form with Formspree

Open fakirlalon opened this issue 4 years ago • 3 comments

Summary

I am facing problem with setting up the contact form. I have put the {% include site-form.html %} in the page and the form is there. But the problem is the when I try to use the contact form, it goes to Formspree site with my email at the URL.

Apparently Formspree has moved to new method. Any idea how to resolve this?

Also, the setup method should be mention in the README file.

Probably this is related to 155

fakirlalon avatar Jun 02 '21 13:06 fakirlalon

Hey @fakirlalon, that's indeed correct! That pull request is for sorting out this very issue. Formspree is sunsetting this feature and I need to update the theme to work with the new implementation. @ManuelFte did start a good contribution, however I assume they've been caught up with other things too. When I find the time I can hopefully get the pull request across the finish line!

daviddarnes avatar Jun 03 '21 08:06 daviddarnes

Hi! I see this Issue has been up for a while. I'm using the theme (thanks!) and I was able to set up a Formspree form quite easily following the instructions here: https://formspree.io/guides/jekyll/ . Testing the form seems to work fine so far with no public exposure of the destination email address.

I did the following:

  • create formspree account and create a form
  • add the contact-form.html (containing the form HTML with the correct Formspree URL to my form) to my _includes folder
  • add the liquid code {% include contact-form.html %} to contact.md in my main repository

erindarrow avatar Jan 02 '23 17:01 erindarrow

Nice job @erindarrow!

I think I'l update the form include so it can accept any string into the action value and leave it more open for people to use how they wish

daviddarnes avatar Jan 03 '23 14:01 daviddarnes