Title: Deferred js loading stops Captcha image
Last modified: August 30, 2016

---

# Deferred js loading stops Captcha image

 *  Resolved [jeff@exitshoes.com](https://wordpress.org/support/users/jeffexitshoescom/)
 * (@jeffexitshoescom)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/deferred-js-loading-stops-captcha-image/)
 * Using the version 14.9.12 of cforms2 and including captcha on a form, the image
   displays in the admin interface, but not on the form.
 * I use a javascript deferred loading plugin to optimize the pages, but this seems
   to create a problem for the jquery loading of the captcha image. Disabling the
   plugin “WP deferred javaScript” does allow the Captcha image to show.
 * To test, install “WP deferred javaScript” Enable/Disable.
 * However the admin page is setup (cformsII->Global Settins), it works with deferred
   loading. Can that be done for regular form pages too?
 * Thanks,
 * Jeff
 * [https://wordpress.org/plugins/cforms2/](https://wordpress.org/plugins/cforms2/)

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

 *  Plugin Author [bgermann](https://wordpress.org/support/users/bgermann/)
 * (@bgermann)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/deferred-js-loading-stops-captcha-image/#post-6402086)
 * You see correct behaviour in admin area, because that plugin does not change 
   the JavaScript loading there. cformsII uses `wp_enqueue_style('dashicons')` for
   the icon in a wp_enqueue_scripts action context. This is the way one should enqueue
   styles. You should ask in the WP deferred javaScript support forum.
 *  Thread Starter [jeff@exitshoes.com](https://wordpress.org/support/users/jeffexitshoescom/)
 * (@jeffexitshoescom)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/deferred-js-loading-stops-captcha-image/#post-6402135)
 * Thanks. Your suggestion leads me to believe this is probably legacy theme related.
   I’ll have a look at updating the theme to handle enqueueing.

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

The topic ‘Deferred js loading stops Captcha image’ is closed to new replies.

 * ![](https://ps.w.org/cforms2/assets/icon-128x128.png?rev=1010031)
 * [cformsII](https://wordpress.org/plugins/cforms2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cforms2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cforms2/)
 * [Active Topics](https://wordpress.org/support/plugin/cforms2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cforms2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cforms2/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [jeff@exitshoes.com](https://wordpress.org/support/users/jeffexitshoescom/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/deferred-js-loading-stops-captcha-image/#post-6402135)
 * Status: resolved