Code Monkey home page Code Monkey logo

Comments (12)

gustavotero7 avatar gustavotero7 commented on July 20, 2024 3

@ragasirtahk create a copy of osprey/layouts/partials/body-bottom.html file inside your-site/layouts/partials and comment the line 6 of that file. that will override the original osprey body-bottom.html and remove the ajax script.

from osprey.

gustavotero7 avatar gustavotero7 commented on July 20, 2024 1

Hi @jasonna2607 I had remoed the ajax js script, also in my case the contact form redirects to the formspree captcha page.

Now I have restored the ajax script, and is working, I don't have a formspree paid account, not sure why is working now.

from osprey.

gustavotero7 avatar gustavotero7 commented on July 20, 2024 1

Hi @ragasirtahk, if you have validated your site with formspree just change ajaxFormspree to false in your config.toml file.

or

remove line 6 osprey/layouts/partials/body-bottom.html

from osprey.

tomanistor avatar tomanistor commented on July 20, 2024

Thanks for bringing this up @gustavotero7.

Recently, I've discovered that FormSpree has disabled AJAX for all newly created forms that are not made on a FormSpree Gold account: formspree/formspree#173

Without diving into the problem yet, I can only assume it is related to that. I am considering replacing FormSpree with another contact form service that freely allows AJAX calls so that new forms can work as intended.

from osprey.

gustavotero7 avatar gustavotero7 commented on July 20, 2024

Got it, removed AJAX script and works well, I think later I will get gold, but now works well.

Thanks

from osprey.

jasonna2607 avatar jasonna2607 commented on July 20, 2024

Hi @gustavotero7 I was wondering can I have a look on your code?

Got the same error as you have and went on tried the default coding FormSpree provides and it seems that it will bring me to the reCAPTCHA page which I'm trying to avoid now

from osprey.

ragasirtahk avatar ragasirtahk commented on July 20, 2024

Can you people guide me on this issue? Please tell me how to get the form working? How do I remove the AJAX script being talked about? My code: https://github.com/ragasirtahk/Me

from osprey.

jasonna2607 avatar jasonna2607 commented on July 20, 2024

from osprey.

ragasirtahk avatar ragasirtahk commented on July 20, 2024

Thank you @gustavotero7
Edit: I changed the value to false, but this removed the contact form from my website. Please check out my repo and help me.

from osprey.

ragasirtahk avatar ragasirtahk commented on July 20, 2024

Thank you @gustavotero7
Everything works fine now.

from osprey.

sbesnard avatar sbesnard commented on July 20, 2024

Hi all, @gustavotero7 your solution should appear in the README.MD

from osprey.

tomanistor avatar tomanistor commented on July 20, 2024

Thanks for assisting, @gustavotero7! If you or anyone wants to create a PR to add that to the README.md, please do and I'll merge it. In the meantime, I am looking for alternative contact form services that allow AJAX.

from osprey.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.