Support » Plugin: Contact Form 7 - Conditional Fields » Javascript issue

  • jancso



    I have an issue immidiately after install the plugin. I have Flatsome theme. Here is the console error:

    Uncaught TypeError: Cannot read property ‘0’ of undefined
    at Object.get_simplified_dom_model (scripts_es6.js:692)
    at Wpcf7cfForm../js/scripts_es6.js.Wpcf7cfForm.displayFields (scripts_es6.js:107)
    at scripts_es6.js:933
    at Array.forEach (<anonymous>)
    at HTMLDocument.<anonymous> (scripts_es6.js:932)
    at i (jquery.js?ver=1.12.4-wp:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
    at Function.ready (jquery.js?ver=1.12.4-wp:2)
    at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)
    get_simplified_dom_model @ scripts_es6.js:692
    ./js/scripts_es6.js.Wpcf7cfForm.displayFields @ scripts_es6.js:107
    (anonymous) @ scripts_es6.js:933
    (anonymous) @ scripts_es6.js:932
    i @ jquery.js?ver=1.12.4-wp:2
    fireWith @ jquery.js?ver=1.12.4-wp:2
    ready @ jquery.js?ver=1.12.4-wp:2
    J @ jquery.js?ver=1.12.4-wp:2

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Jules Colle


    I can’t check for the moment, cause I’m on holiday with only my phone. But a strange thing I see is that there is no version number added to the scripts_es6.js. Are you sure you have the latest version of the plugin installed?

    Hi i have the same issue, latest version installed

    I also have the same issue.

    Hello @jules-colle
    I have checked and i am using latest version of Contact form 7, Contact form 7 Conditional fields and WordPress. This issue started appearing after latest update for Contact form 7 and WordPress.

    @jancso @marcokiel77 Are you able to fix this issue? If yes please share how?

    No,i don’t have a solution yet.

    Hello @jules-colle
    I hope you are fine and you are back after holidays.
    Did you got some time to see the issues. If yes, please suggest any solution to fix the issue.

    Thank you

    Plugin Author Jules Colle


    I think I was able to reproduce this issue. Seems like there is a bug if there are no conditions in a form. Will test some more and get it fixed with the next update.

    Hello @jules-colle
    okay.. i am waiting for this to be fixed.
    I have conditional fields in the form. You can check at
    Click on Submit a Claim and it will open form in a modal. There is a drop down with heading Payment Information. Conditional fields should be visible, when we change the value of the drop down but currently it is not working.

    I have added the same form at and on this page it works fine but error is still visible in console.

    Thank you for your response.

    Hello @jules-colle
    Did you get some time to fix this issue.
    Actually it has impact on my entire website. Some of the KingComposer page builder components are not working along with Conditional Fields Plugin. Please check and fix this.

    Thank you

    Plugin Author Jules Colle


    Almost done crawling trough all the work that stacked up during my vaction. I hope to fix and release an update by the end of the week.

    Plugin Author Jules Colle


    @sajiddesigner Are you using a minification plugin?

    Hello @jules-colle
    I have noticed you have released a new update of the plugin. I have updated the plugin. I will test and give you the feedback.

    Yes, I use a minification plugin but it is disabled for now.

    Hello @jules-colle
    I have checked and I still have the same issue.
    You can check at
    Open this URL in the browser and then see the console for error information.
    If I disable Contact form 7 Conditional fields, then the issue is fixed.

    Due to this error, the image slider on-page is not working. See the heading “CUSTOMER SERVICE IS OUR TOP PRIORITY” on the home page. You will see a blank white space at the left side of this heading. This space should not be blank.

Viewing 13 replies - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.