Skip to content
This repository has been archived by the owner on Apr 6, 2024. It is now read-only.

The formspree.io link to the form no longer work #192

Open
DarekRepos opened this issue Jun 14, 2023 · 14 comments
Open

The formspree.io link to the form no longer work #192

DarekRepos opened this issue Jun 14, 2023 · 14 comments

Comments

@DarekRepos
Copy link

I tried using formspree.io but the link to the form is no longer valid. I need form id (for instance kljlkjlkj ) that comes from specific endpoint. I use workaround but i think it is better to update the form action link. what do you think? I created PR. By the way, thanks for your time. This project was very helpful.

actual link

 action="https://formspree.io/{{ site.email }}"
 action="https://formspree.io/example@domain.com"

working formspree.io link

 action="https://formspree.io/f/{{ site.emailformcode }}"
 action="https://formspree.io/f/xgfdgfdggvh"
DarekRepos added a commit to DarekRepos/forty-jekyll-theme that referenced this issue Jun 14, 2023
 andrewbanchich#192
- change  action link
- changed readme description about the link
@andrewbanchich
Copy link
Owner

Ah, I'm sorry to see that they removed the free functionality. They still have a "free" plan which is just for testing.

I'd rather just remove them from this theme. I had added them only because it was a nice, automatic way for the theme's users to get an email form.

Thanks for letting me know!

@andrewbanchich
Copy link
Owner

Maybe there is another service which does the same thing but doesn't charge. I'll need to look into it when I have some free time.

@barthel
Copy link

barthel commented Oct 1, 2023

@andrewbanchich Any update at this point?

@andrewbanchich
Copy link
Owner

@barthel I haven't had the time to work on themes in a while, but the plan is either to remove the functionality altogether or else replace with a free service.

Repository owner deleted a comment from OmerTurann Mar 4, 2024
Repository owner deleted a comment from renato71amorim Mar 4, 2024
Repository owner deleted a comment from renato71amorim Mar 4, 2024
@michalkundrat
Copy link

Working on this now, found something called FormEasy, which is free, open-source and designed for static websites as a replacement to FormSpree.

@michalkundrat
Copy link

I've practically finished everything. The only thing left to do is to get the required FormEasy URL from the user via the _config.yml file. However, I have no clue how I can do this in such a way that gives me access to the URL in Javascript. Anyone able to help?

@DarekRepos
Copy link
Author

You can add separated variable in the _config.yml file. Check my example, you can get some inspiration.
example

It uses pre-rendering with Liquid Tags:

URL is directly accessible in the pre-rendered Javascript, but it requires modification of your layout file. For instance, create a Javascript file and store it in your project's static directory (e.g., assets/form_easy.js). Inside your layout file (e.g., _layouts/default.html), use Liquid tags to pre-render the Javascript code with the FormEasy URL:

<script>
  var formEasyUrl = '{{ site.formEasyUrl }}';
</script>

@michalkundrat
Copy link

Cheers mate - this seems to work now. Kept trying it as an identifier rather than a string for some reason 😂
Hopefully will be able to create a pull request soon.

@queen18
Copy link

queen18 commented Mar 26, 2024 via email

@michalkundrat
Copy link

Hello I can see your messages!

On Tue, Mar 26, 2024, 4:29 a.m. Michal Kundrát @.> wrote: Cheers mate - this seems to work now. Kept trying it as an identifier rather than a string for some reason 😂 Hopefully will be able to create a pull request soon. — Reply to this email directly, view it on GitHub <#192 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKQM7CHDI5QJSCQ5UG3BYQTY2E5W3AVCNFSM6AAAAAAZGYK4Y2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRQGA2TSMZQGE . You are receiving this because you were mentioned.Message ID: @.>

Which messages?

@queen18
Copy link

queen18 commented Mar 26, 2024 via email

@michalkundrat
Copy link

michalkundrat commented Mar 26, 2024 via email

@queen18
Copy link

queen18 commented Mar 26, 2024 via email

@andrewbanchich
Copy link
Owner

@queen18 You must have clicked "Subscribe" on this GitHub issue page. Just click "Unsubscribe" at the bottom of your email.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants