Title: Javascript issue
Last modified: December 8, 2019

---

# Javascript issue

 *  Resolved [jancso](https://wordpress.org/support/users/jancso/)
 * (@jancso)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/javascript-issue-14/)
 * Hello!
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-issue-14%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/javascript-issue-14/#post-12234015)
 * 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?
 *  [Marco77](https://wordpress.org/support/users/marcokiel77/)
 * (@marcokiel77)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/javascript-issue-14/#post-12242196)
 * Hi i have the same issue, latest version installed
 *  [Sajid Manzoor](https://wordpress.org/support/users/sajiddesigner/)
 * (@sajiddesigner)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/javascript-issue-14/#post-12261158)
 * Hello
    I also have the same issue.
 *  [Sajid Manzoor](https://wordpress.org/support/users/sajiddesigner/)
 * (@sajiddesigner)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/javascript-issue-14/#post-12261318)
 * Hello [@jules-colle](https://wordpress.org/support/users/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](https://wordpress.org/support/users/jancso/) [@marcokiel77](https://wordpress.org/support/users/marcokiel77/)
   Are you able to fix this issue? If yes please share how?
 *  [Marco77](https://wordpress.org/support/users/marcokiel77/)
 * (@marcokiel77)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/javascript-issue-14/#post-12261333)
 * No,i don’t have a solution yet.
 *  [Sajid Manzoor](https://wordpress.org/support/users/sajiddesigner/)
 * (@sajiddesigner)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/javascript-issue-14/#post-12306123)
 * Hello [@jules-colle](https://wordpress.org/support/users/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](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/javascript-issue-14/#post-12308527)
 * 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.
 *  [Sajid Manzoor](https://wordpress.org/support/users/sajiddesigner/)
 * (@sajiddesigner)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/javascript-issue-14/#post-12309957)
 * Hello [@jules-colle](https://wordpress.org/support/users/jules-colle/)
    okay..
   i am waiting for this to be fixed. I have conditional fields in the form. You
   can check at [https://www.optimumcreative.com/demo/gaylord/](https://www.optimumcreative.com/demo/gaylord/)
   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 [https://www.optimumcreative.com/demo/gaylord/claim-form/](https://www.optimumcreative.com/demo/gaylord/claim-form/)
   and on this page it works fine but error is still visible in console.
 * Thank you for your response.
 *  [Sajid Manzoor](https://wordpress.org/support/users/sajiddesigner/)
 * (@sajiddesigner)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/javascript-issue-14/#post-12322361)
 * Hello [@jules-colle](https://wordpress.org/support/users/jules-colle/)
    Did you
   get some time to fix this issue. Actually it has impact on my entire website.
   Some of the [KingComposer](https://wordpress.org/plugins/kingcomposer/) page 
   builder components are not working along with Conditional Fields Plugin. Please
   check and fix this.
 * Thank you
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/javascript-issue-14/#post-12323486)
 * 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](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/javascript-issue-14/#post-12354916)
 * [@sajiddesigner](https://wordpress.org/support/users/sajiddesigner/) Are you 
   using a minification plugin?
 *  [Sajid Manzoor](https://wordpress.org/support/users/sajiddesigner/)
 * (@sajiddesigner)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/javascript-issue-14/#post-12361272)
 * Hello [@jules-colle](https://wordpress.org/support/users/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.
 *  [Sajid Manzoor](https://wordpress.org/support/users/sajiddesigner/)
 * (@sajiddesigner)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/javascript-issue-14/#post-12361287)
 * Hello [@jules-colle](https://wordpress.org/support/users/jules-colle/)
    I have
   checked and I still have the same issue. You can check at [http://www.optimumcreative.com/demo/gaylord/](http://www.optimumcreative.com/demo/gaylord/)
   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)

The topic ‘Javascript issue’ is closed to new replies.

 * ![](https://ps.w.org/cf7-conditional-fields/assets/icon-256x256.png?rev=2072595)
 * [Conditional Fields for Contact Form 7](https://wordpress.org/plugins/cf7-conditional-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-conditional-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-conditional-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-conditional-fields/reviews/)

 * 13 replies
 * 4 participants
 * Last reply from: [Sajid Manzoor](https://wordpress.org/support/users/sajiddesigner/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/javascript-issue-14/#post-12361287)
 * Status: resolved