Title: Javascript error in shortcode builder &#8211; FIX
Last modified: September 1, 2016

---

# Javascript error in shortcode builder – FIX

 *  [misthero](https://wordpress.org/support/users/misthero/)
 * (@misthero)
 * [10 years ago](https://wordpress.org/support/topic/javascript-error-in-shortcode-builder-fix/)
 * in file CFDBViewShortCodeBuilder.php line 1825 presents a little typo that breaks
   javascript execution if wp debug is enabled
 * `jQuery('#header_cntl').prop("checked", <?php echo $this->requestParams['$postedHeader']
   == 'false' ? 'false' : 'true' ?>); // default = true`
 * this line cause a undefined index error ‘$postedHeader’ is not defined
 * change it like this
 * `jQuery('#header_cntl').prop("checked", <?php echo $this->requestParams['postedHeader']
   == 'false' ? 'false' : 'true' ?>); // default = true`
 * [https://wordpress.org/plugins/contact-form-7-multi-step-module/](https://wordpress.org/plugins/contact-form-7-multi-step-module/)

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

 *  Plugin Author [webheadcoder](https://wordpress.org/support/users/webheadllc/)
 * (@webheadllc)
 * [10 years ago](https://wordpress.org/support/topic/javascript-error-in-shortcode-builder-fix/#post-7550293)
 * I think you posted to the wrong forum. there is no CFDBViewShortCodeBuilder.php
   in this plugin.
 *  Thread Starter [misthero](https://wordpress.org/support/users/misthero/)
 * (@misthero)
 * [10 years ago](https://wordpress.org/support/topic/javascript-error-in-shortcode-builder-fix/#post-7550297)
 * oh!! yes!! I’m sorry, you are right this is for the Contact Form DB plugin, i
   guess I had both pages open and clicked on the wrong one..
 * you can close this, sorry again..

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

The topic ‘Javascript error in shortcode builder – FIX’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7-multi-step-module/assets/icon-256x256.png?
   rev=1793363)
 * [Contact Form 7 Multi-Step Forms](https://wordpress.org/plugins/contact-form-7-multi-step-module/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-multi-step-module/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-multi-step-module/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-multi-step-module/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-multi-step-module/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-multi-step-module/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [misthero](https://wordpress.org/support/users/misthero/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/javascript-error-in-shortcode-builder-fix/#post-7550297)
 * Status: not a support question