Title: Small error with JavaScript
Last modified: February 3, 2018

---

# Small error with JavaScript

 *  Resolved [arafail](https://wordpress.org/support/users/arafail/)
 * (@arafail)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/small-error-with-javascript/)
 * Good morning!
    I am having a bit of trouble with you plugin. The conditional 
   part does not seem to work. The page is here: [http://aectra.socielle.com/promo/terra-sorb-complex/](http://aectra.socielle.com/promo/terra-sorb-complex/)
   When i click on any of the radio buttons in the form, a small text should appear,
   as per this setup: [http://prntscr.com/i9gud7](http://prntscr.com/i9gud7) I am
   using this in order to be able to setup conditions in the Mail2 area as per this
   setup: [http://prntscr.com/i9guhy](http://prntscr.com/i9guhy) However, since 
   the form is not working, I did not setup the conditions. As far as I can see 
   the javascript that ads the display condition for each group is missing. I only
   have contact form 7 and and cf7cf plugins activated: [http://prntscr.com/i9gv5f](http://prntscr.com/i9gv5f)
   and my wordpress is 4.9.2
 * Coul you help?
    Thank you!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsmall-error-with-javascript%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [arafail](https://wordpress.org/support/users/arafail/)
 * (@arafail)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/small-error-with-javascript/#post-9934067)
 * I have activated the debug options and got this errors:
    Notice: wp_enqueue_script
   was called incorrectly. Scripts and styles should not be registered or enqueued
   until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts
   hooks. Please see Debugging in WordPress for more information. (This message 
   was added in version 3.3.0.) in /home/arafail/public_html/socielle.com/dev/aectra/
   wp-includes/functions.php on line 4147
 * Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not
   be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts,
   or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information.(
   This message was added in version 3.3.0.) in /home/arafail/public_html/socielle.
   com/dev/aectra/wp-includes/functions.php on line 4147
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/arafail/public_html/socielle.com/dev/aectra/wp-includes/functions.php:
   4147) in /home/arafail/public_html/socielle.com/dev/aectra/wp-admin/includes/
   misc.php on line 1114
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/arafail/public_html/socielle.com/dev/aectra/wp-includes/functions.php:
   4147) in /home/arafail/public_html/socielle.com/dev/aectra/wp-includes/pluggable.
   php on line 1216
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/small-error-with-javascript/#post-9946543)
 * i don’s see anything wrong with this.
 * If the script does not get loaded, it’s likely because your theme is missing 
   the `wp_footer()` function in the footer.php file. Please see the FAQ

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

The topic ‘Small error with JavaScript’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/small-error-with-javascript/#post-9946543)
 * Status: resolved