• Resolved MEDKOD

    (@loupio)


    Hi,

    I want to thank you first for this amazing plugin.

    The console gives me this error on the form’s page, wich prevents any javascript code from executing :

    • TypeError: cf7Form.post2CF7FormData is not a function

    Here is a screenshot of the mapped fields: https://snag.gy/6pjYlS.jpg

    Let me know if you need any further pieces of information.

    Thank you in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    I want to thank you first for this amazing plugin.

    please do so in a review, thank you

    Here is a screenshot of the mapped fields

    that looks fine.

    TypeError: cf7Form.post2CF7FormData is not a function

    this function is being defined in a js file that is loaded on the front-end when your form is loaded, I am assuming that this file is not being loaded.

    Can you please inspect your front page and ensure that the following js file is being loaded,
    /wp-content/plugins/post-my-contact-form-7/public/js/cf7-2-post-public.js

    Thread Starter MEDKOD

    (@loupio)

    The file is loaded but I still have the same error.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    bizarre, bizarre. I am not sure why the fn is not loading. is it possible that you have some security implementation that is sandboxing this js file?

    Anyhow, I just released a small change in v4.0.3 which should sidestep the fn if it is not found. Can you upgrade and let me know if the error goes away?

    Thread Starter MEDKOD

    (@loupio)

    I just tried this new version and the problem is gone now. Merci beaucoup 😉 .

    Plugin Author Aurovrata Venet

    (@aurovrata)

    super. Bonne continuation!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘TypeError: cf7Form.post2CF7FormData is not a function’ is closed to new replies.