• 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://www.ads-software.com/plugins/contact-form-7-multi-step-module/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author webheadcoder

    (@webheadllc)

    I think you posted to the wrong forum. there is no CFDBViewShortCodeBuilder.php in this plugin.

    Thread Starter misthero

    (@misthero)

    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.