Jump to content

Archived

This topic is now archived and is closed to further replies.

Brian

Mailchimp Validate Javascript Error

Recommended Posts

Brian
<script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script><script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';}(jQuery));var $mcj = jQuery.noConflict(true);</script>

Hey everyone,

So the PL5 builder won't save changes when embedding a MailChimp form with the validation script (see above). What needs to be done to fix this?

Thanks,

B

Share this post


Link to post
Share on other sites
Simon

Use the method in the FAQ post in this forum to enable section safemode to remove/change your code.

The script you are adding there has jquery 1.9 in it, two versions of jquery on the same page *will* break things.

Share this post


Link to post
Share on other sites
Brian

Thanks Simon. That script was a copy/paste from MailChimp.

Share this post


Link to post
Share on other sites
Simon
3 hours ago, Brian said:

Thanks Simon. That script was a copy/paste from MailChimp.

id suggest trying one of the many wordpress plugins for mailchimp as their js snippet is a sort of one size fits all approach.

Share this post


Link to post
Share on other sites

×