Title: JS errors using shortcode by itself
Last modified: August 30, 2016

---

# JS errors using shortcode by itself

 *  [Jasonian](https://wordpress.org/support/users/jasonian/)
 * (@jasonian)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/js-errors-using-shortcode-by-itself/)
 * The errors are as follows:
 * Uncaught TypeError: Cannot read property ‘replace’ of null
 * validateCurrencyCode @ lidd-mc.js?ver=2.1.9:72
    (anonymous function) @ lidd-mc.
   js?ver=2.1.9:96 m.event.dispatch @ jquery.js?ver=1.11.2:3 m.event.add.r.handle
   @ jquery.js?ver=1.11.2:3
 * That’s using the rmc short shortcode. the long shortcode yields more errors.
 * So, yeah. No results. I love the simplicity of the design. Now, if I could only
   get it to work.
 * [https://wordpress.org/plugins/responsive-mortgage-calculator/](https://wordpress.org/plugins/responsive-mortgage-calculator/)

Viewing 1 replies (of 1 total)

 *  [liddweaver](https://wordpress.org/support/users/liddweaver/)
 * (@liddweaver)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/js-errors-using-shortcode-by-itself/#post-6434426)
 * Try version 2.2.1. I’ve just tweaked the JS to check for a null value.
 * Can you post the other errors you’re getting or provide a link?

Viewing 1 replies (of 1 total)

The topic ‘JS errors using shortcode by itself’ is closed to new replies.

 * ![](https://ps.w.org/responsive-mortgage-calculator/assets/icon-256x256.png?rev
   =1920811)
 * [Responsive Mortgage Calculator](https://wordpress.org/plugins/responsive-mortgage-calculator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/responsive-mortgage-calculator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/responsive-mortgage-calculator/)
 * [Active Topics](https://wordpress.org/support/plugin/responsive-mortgage-calculator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/responsive-mortgage-calculator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/responsive-mortgage-calculator/reviews/)

## Tags

 * [javascript errors](https://wordpress.org/support/topic-tag/javascript-errors/)
 * [jQuery errors](https://wordpress.org/support/topic-tag/jquery-errors/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 1 reply
 * 2 participants
 * Last reply from: [liddweaver](https://wordpress.org/support/users/liddweaver/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/js-errors-using-shortcode-by-itself/#post-6434426)
 * Status: not resolved