Title: unit_tag javascript error preventing conditional fields from showing
Last modified: April 28, 2017

---

# unit_tag javascript error preventing conditional fields from showing

 *  [daisyfarrows](https://wordpress.org/support/users/daisyfarrows/)
 * (@daisyfarrows)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/unit_tag-javascript-error-preventing-conditional-fields-from-showing/)
 * Just downloaded the plugin and update the WordPress core and CF7 to make sure
   everything should work nicely.
 * When trying to set up a basic condition:
    if [enquiry-type] equals “test” then
   show [product-group]
 * I can’t get the fields to show on the front of the site.
 * The console returns this error:
 *     ```
       scripts.js?ver=1.3.1:190 
       Uncaught TypeError: Cannot read property 'unit_tag' of undefined
       ```
   
 * The site is a theme (RT themes 19: [https://rt19demos.rtthemes.com/](https://rt19demos.rtthemes.com/))
   which embeds the form using Visual Composer (tried both CF7 module and just shortcode
   WYSIWYG editor) – so the form should be in the loop (which is relevant from what
   I’ve read around the unit_tag issue).
 * Any ideas on where I can go next?
    -  This topic was modified 9 years, 1 month ago by [daisyfarrows](https://wordpress.org/support/users/daisyfarrows/).
    -  This topic was modified 9 years, 1 month ago by [daisyfarrows](https://wordpress.org/support/users/daisyfarrows/).
    -  This topic was modified 9 years, 1 month ago by [daisyfarrows](https://wordpress.org/support/users/daisyfarrows/).

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

 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/unit_tag-javascript-error-preventing-conditional-fields-from-showing/#post-9080629)
 * I haven’t tested the plugin with Visual Composer yet, will look into it. Does
   everything work okay if you disable visual composer?
 *  Thread Starter [daisyfarrows](https://wordpress.org/support/users/daisyfarrows/)
 * (@daisyfarrows)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/unit_tag-javascript-error-preventing-conditional-fields-from-showing/#post-9088202)
 * In fairness, if I disable Visual Composer, the theme breaks (white screen of 
   death on admin) – so there is clearly something wrong there!
 * I’ll have a look on a fresh install and see if I can figure out what’s wrong.
   Cheers for getting back to me. I’ll update you if I find anything.
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/unit_tag-javascript-error-preventing-conditional-fields-from-showing/#post-9111127)
 * Hi there! Could you please check if the update of CF solves the issue (v 1.3.2)?
   I made some code changes that I believe may affect/solve your problem.
 * cheers!
 *  Thread Starter [daisyfarrows](https://wordpress.org/support/users/daisyfarrows/)
 * (@daisyfarrows)
 * [9 years ago](https://wordpress.org/support/topic/unit_tag-javascript-error-preventing-conditional-fields-from-showing/#post-9178931)
 * Hello! Sorry, I’ve only just seen this.
 * Your most recent update has fixed the issue! Thank you very much!! Legend.

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

The topic ‘unit_tag javascript error preventing conditional fields from showing’
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/)

 * 4 replies
 * 2 participants
 * Last reply from: [daisyfarrows](https://wordpress.org/support/users/daisyfarrows/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/unit_tag-javascript-error-preventing-conditional-fields-from-showing/#post-9178931)
 * Status: not resolved