I'm working on integrating the MailChimp newsletter signup form into the ReadyTheme Content Section Global Footer Newsletter Form. The email input field is easy but I'm struggling with the MailChimp input button and the ReadyTheme <button>
This will subscribe the email but oh boy does it look funny
This code looks great but doesn't work (subscribe). It reloads the page and appends my email address as part of the URL
I probably have just missed one little something but I'm not sure what.
Code:
<input class="c-form-input c-control-group__field u-bg-white u-border-none t-newsletter-form__input" data-mailchimp-identifier="global-mailchimp-email" type="text" name="Email_Address" placeholder="Email Address" /> <input class="c-button c-control-group__button u-bg-white u-color-black u-icon-arrow-right u-border-none" type="button" title="Sign Up" value="Sign Up" onclick="MailChimp_NewsLetter_Signup_Submit( 'global-mailchimp' );" />
This will subscribe the email but oh boy does it look funny
This code looks great but doesn't work (subscribe). It reloads the page and appends my email address as part of the URL
Code:
<input class="c-form-input c-control-group__field u-bg-white u-border-none t-newsletter-form__input" data-mailchimp-identifier="global-mailchimp-email" type="text" name="Email_Address" placeholder="Email Address" /> <button class="c-button c-control-group__button u-bg-white u-color-black u-icon-arrow-right u-border-none" onclick="MailChimp_NewsLetter_Signup_Submit( 'global-mailchimp' );"></button>
I probably have just missed one little something but I'm not sure what.
Comment