Closed riweb closed 10 years ago
Hi,
I don't see the form on the page you are referencing. You also have two JavaScript errors on the page.
Thanks, Evan
Wow! That's a fast response! Thanks!
The form is just an email sign-up box within the slider:
How do I fix the JavaScript errors?
Are you using some sort of script minifier? Maybe Better WP Minify, or some caching plugin or something? I'm only asking because our java script looks like it's being minified which is causing some of the script to be commented out.
I'm sure that's why the page is refreshing and not sending the data to MailChimp. The JavaScript isn't being executed because it's commented out.
Not that I'm aware of?
I would try and figure out why the script is being minified, because that is what is causing the error for you.
Evan
I wouldn't even know where to start with that?! Are you able to help me?
Yea , I can take a look for you if you would like. I would need a temporary admin account to take a look at what's going on with the scripts.
You can email me at Evan@Yikesinc.com and I'll take a look as soon as I can.
Thanks, Evan
Hey Riweb,
I was able to resolve the issue fairly quickly. One of the settings within Layerslider is 'Concatenate Output', which means it was just minifying and combining each line of the script into a single line. Since we have a few notes in the plugin code (for other developers to reference), when the script got concatenated (or combined into a single line) one of our comments was commenting out every subsequent line, and only causing half of the script to actually run and then throwing an error, thus the page refresh.
Once I toggled off that settings things worked as intended, and the MailChimp signup form was functioning properly.
Take a look at the screenshot for reference of that setting. Things should be working properly now. If you notice anything odd, please let me know!
Thanks, Evan
Hi, I have added a form here: http://www.ri-web.com/half-price-websites
Which is not working at all. Nothing happens when you clikc submit except the pages refreshes.
Please help.
Ryan