• Resolved arafail

    (@arafail)


    Good morning!
    I am having a bit of trouble with you plugin.
    The conditional part does not seem to work.
    The page is here: https://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: https://prntscr.com/i9gud7
    I am using this in order to be able to setup conditions in the Mail2 area as per this setup: https://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: https://prntscr.com/i9gv5f and my wordpress is 4.9.2

    Coul you help?
    Thank you!

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter arafail

    (@arafail)

    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

    (@jules-colle)

    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.