Last active
July 12, 2016 13:30
-
-
Save pranavq212/6abbd665e17cf895d977d8f0758817cd to your computer and use it in GitHub Desktop.
Adding Mailing list using MailChimp in Asp.net/HTML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Begin MailChimp Signup Form --> | |
<div id="mc_embed_signup" style="float:right"> | |
<!-- In form action u=b17f67afdefca06a0b4ebd90f is unique key for user id=248d6f0d5b is unique id for mailing list--> | |
<form action="//wordpress.us13.list-manage.com/subscribe/post?u=b17f67afdefca06a0b4ebd90f&id=248d6f0d5b" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate> | |
<div id="mc_embed_signup_scroll"> | |
<div class="mc-field-group"> | |
<label for="mce-EMAIL"> | |
Signup for newsletter <span class="asterisk">*</span> | |
</label> | |
<input type="email" value="" required name="EMAIL" id="mce-EMAIL" oninvalid="setCustomValidity('Please enter a valid email address.')" oninput="setCustomValidity('')"> | |
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"> | |
</div> | |
</div> | |
<div id="mce-responses" class="clear"> | |
<div class="response" id="mce-error-response" style="display:none"></div> | |
<div class="response" id="mce-success-response" style="display:none"></div> | |
</div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups--> | |
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_b17f67afdefca06a0b4ebd90f_248d6f0d5b" tabindex="-1" value=""></div> | |
</form> | |
</div> | |
<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> | |
<!--End mc_embed_signup--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment