×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: JS Error on page preventing component working

JS Error on page preventing component working 10 years 4 months ago #27001

  • Matthew
  • Matthew's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Hi,

I get the following JS error on page load:

ReferenceError: Options is not defined on line 11 of cmc.js

The Mailchimp form is displayed and appears to be working but instead of staying on the same page after submission I get a blank page with the following:

{"html":"saved","error":false}

or similar message. Can you advise on where the problem lies?

Thanks
Mat

Further Notes:

I've just been told that this is due to the fact that I'm not loading Mootools, so thanks for the help.

JS Error on page preventing component working 10 years 4 months ago #27002

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
AS I said to you on the chat - the current version of the component users mootools, but you don't have the library included on the page.
The next version will rely on jquery, but until then you need mootools.

Regards,
Daniel
  • Page:
  • 1
Time to create page: 0.110 seconds