{"id":203,"date":"2020-07-08T09:13:57","date_gmt":"2020-07-08T14:13:57","guid":{"rendered":"https:\/\/watertowntn.com\/?page_id=203"},"modified":"2020-07-08T09:13:57","modified_gmt":"2020-07-08T14:13:57","slug":"newsletter","status":"publish","type":"page","link":"https:\/\/watertowntn.com\/_staging\/chamber\/newsletter\/","title":{"rendered":"Subscribe to the Chamber Newsletter"},"content":{"rendered":"<!-- vdg-content-wrapped -->\n<!-- content-standard start -->\n<div class=\"content-standard\"><p>\n\t\t<\/p><div class=\"mailchimp_embed embed_chamber_mailchimp\">\n\t\t\t\n\t\t<div id=\"mc_embed_signup\" class=\"form_box\">\n\t\t\t<form action=\"https:\/\/watertowntn.us2.list-manage.com\/subscribe\/post?u=0949e79931309470506f1198c&amp;id=a2c85e22d2\" method=\"post\" id=\"mc-embedded-subscribe-form\" name=\"mc-embedded-subscribe-form\" class=\"validate\" target=\"_blank\">\n\t\t\t<h2>Subscribe to our Chamber Mailing List<\/h2>\n\t\t\t<div class=\"indicates-required\"><span class=\"asterisk\">*<\/span> indicates required<\/div>\n\t\t\t<div class=\"mc-field-group mc-field-group2 form_item input_item\">\n\t\t\t\t<span class=\"input_label\">First Name<\/span>\n\t\t\t\t<span class=\"input_value\"><input type=\"text\" value=\"\" name=\"FNAME\" class=\"\" id=\"mce-FNAME\"><\/span>\n\t\t\t<\/div>\n\t\t\t\t<div class=\"input_separator\"><\/div>\n\t\t\t<div class=\"mc-field-group mc-field-group2 form_item input_item\">\n\t\t\t\t<span class=\"input_label\">Last Name<\/span>\n\t\t\t\t<span class=\"input_value\"><input type=\"text\" value=\"\" name=\"LNAME\" class=\"\" id=\"mce-LNAME\"><\/span>\n\t\t\t<\/div>\n\t\t\t\t<div class=\"input_separator\"><\/div>\n\t\t\t<div class=\"mc-field-group mc-field-group2 form_item input_item\">\n\t\t\t\t<span class=\"input_label\">Email Address  <span class=\"asterisk req\">*<\/span><\/span>\n\t\t\t\t<span class=\"input_value\"><input type=\"email\" value=\"\" name=\"EMAIL\" class=\"required email\" id=\"mce-EMAIL\"><\/span>\n\t\t\t<\/div>\n\t\t\t\t<div class=\"input_separator\"><\/div>\n\t\t\t<div class=\"mc-field-group mc-field-group2 form_item input_item\">\n\t\t\t\t<span class=\"input_label\">Business Name<\/span>\n\t\t\t\t<span class=\"input_value\"><input type=\"text\" value=\"\" name=\"MMERGE3\" class=\"\" id=\"mce-MMERGE3\" style=\"width: 301px;\"><\/span>\n\t\t\t<\/div>\n\t\t\t\t<div class=\"input_separator\"><\/div>\n\t\t\t<div class=\"mc-field-group input-group form_item input_item\">\n\t\t\t\t<span class=\"input_label\">Events Mailing List<\/span>\n\t\t\t\t<span class=\"input_value\">\n\t\t\t\t\t<ul><li><input class=\"check checkbox\" type=\"checkbox\" value=\"1\" name=\"group[8477][1]\" id=\"mce-group[8477]-8477-0\"><label for=\"mce-group[8477]-8477-0\">Sign-Up for our Events Mail List<\/label><\/li><\/ul>\n\t\t\t\t<\/span>\n\t\t\t<\/div>\n\t\t\t\t<div class=\"input_separator\"><\/div>\n\t\t\t<div class=\"mc-field-group input-group form_item input_item\">\n\t\t\t\t<span class=\"input_label\">Chamber Members Mailing List<\/span>\n\t\t\t\t<span class=\"input_value\">\n\t\t\t\t\t<ul><li><input class=\"check checkbox\" type=\"checkbox\" value=\"2\" name=\"group[8481][2]\" id=\"mce-group[8481]-8481-0\"><label for=\"mce-group[8481]-8481-0\">Sign-Up for our Members Mail List<\/label><\/li><\/ul>\n\t\t\t\t<\/span>\n\t\t\t<\/div>\n\t\t\t\t\t<div class=\"input_separator\"><\/div>\n\t\t\t<div id=\"mce-responses\" class=\"clear\">\n\t\t\t\t<div class=\"response\" id=\"mce-error-response\" style=\"display:none\"><\/div>\n\t\t\t\t<div class=\"response\" id=\"mce-success-response\" style=\"display:none\"><\/div>\n\t\t\t<\/div>\t\n\t\t\t\t<div class=\"input_separator\"><\/div>\n\t\t\t<input type=\"submit\" value=\"Subscribe\" name=\"subscribe\" id=\"mc-embedded-subscribe\" class=\"submit button\">\n\t\t\t<\/form>\n\t\t<\/div>\n\t\t<script type=\"text\/javascript\">\n\t\tvar fnames = new Array();var ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[3]='MMERGE3';ftypes[3]='text';\n\t\ttry {\n\t\t\tvar jqueryLoaded=jQuery;\n\t\t\tjqueryLoaded=true;\n\t\t} catch(err) {\n\t\t\tvar jqueryLoaded=false;\n\t\t}\n\t\tvar head= document.getElementsByTagName('head')[0];\n\t\tif (!jqueryLoaded) {\n\t\t\tvar script = document.createElement('script');\n\t\t\tscript.type = 'text\/javascript';\n\t\t\tscript.src = 'http:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.4.4\/jquery.min.js';\n\t\t\thead.appendChild(script);\n\t\t\tif (script.readyState && script.onload!==null){\n\t\t\t\tscript.onreadystatechange= function () {\n\t\t\t\t\t  if (this.readyState == 'complete') mce_preload_check();\n\t\t\t\t}    \n\t\t\t}\n\t\t}\n\t\tvar script = document.createElement('script');\n\t\tscript.type = 'text\/javascript';\n\t\tscript.src = 'http:\/\/downloads.mailchimp.com\/js\/jquery.form-n-validate.js';\n\t\thead.appendChild(script);\n\t\tvar err_style = '';\n\t\ttry{\n\t\t\terr_style = mc_custom_error_style;\n\t\t} catch(e){\n\t\t\terr_style = '#mc_embed_signup input.mce_inline_error{border-color:#6B0505;} #mc_embed_signup div.mce_inline_error{clear: both; margin: 0 auto; line-height: 14px; padding: 5px 10px; background-color: #A6C7E3; font-weight: normal; z-index: 1; color:#fff;}';\n\t\t}\n\t\tvar head= document.getElementsByTagName('head')[0];\n\t\tvar style= document.createElement('style');\n\t\tstyle.type= 'text\/css';\n\t\tif (style.styleSheet) {\n\t\t  style.styleSheet.cssText = err_style;\n\t\t} else {\n\t\t  style.appendChild(document.createTextNode(err_style));\n\t\t}\n\t\thead.appendChild(style);\n\t\tsetTimeout('mce_preload_check();', 250);\n\n\t\tvar mce_preload_checks = 0;\n\t\tfunction mce_preload_check(){\n\t\t\tif (mce_preload_checks>40) return;\n\t\t\tmce_preload_checks++;\n\t\t\ttry {\n\t\t\t\tvar jqueryLoaded=jQuery;\n\t\t\t} catch(err) {\n\t\t\t\tsetTimeout('mce_preload_check();', 250);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tvar validatorLoaded=jQuery(\"#fake-form\").validate({});\n\t\t\t} catch(err) {\n\t\t\t\tsetTimeout('mce_preload_check();', 250);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tmce_init_form();\n\t\t}\n\t\tfunction mce_init_form(){\n\t\t\tjQuery(document).ready( function($) {\n\t\t\t  var options = { errorClass: 'mce_inline_error', errorElement: 'div', onkeyup: function(){}, onfocusout:function(){}, onblur:function(){}  };\n\t\t\t  var mce_validator = $(\"#mc-embedded-subscribe-form\").validate(options);\n\t\t\t  $(\"#mc-embedded-subscribe-form\").unbind('submit');\/\/remove the validator so we can get into beforeSubmit on the ajaxform, which then calls the validator\n\t\t\t  options = { url: 'http:\/\/watertowntn.us2.list-manage.com\/subscribe\/post-json?u=0949e79931309470506f1198c&id=a2c85e22d2&c=?', type: 'GET', dataType: 'json', contentType: \"application\/json; charset=utf-8\",\n\t\t\t\t\t\t\tbeforeSubmit: function(){\n\t\t\t\t\t\t\t\t$('#mce_tmp_error_msg').remove();\n\t\t\t\t\t\t\t\t$('.datefield','#mc_embed_signup').each(\n\t\t\t\t\t\t\t\t\tfunction(){\n\t\t\t\t\t\t\t\t\t\tvar txt = 'filled';\n\t\t\t\t\t\t\t\t\t\tvar fields = new Array();\n\t\t\t\t\t\t\t\t\t\tvar i = 0;\n\t\t\t\t\t\t\t\t\t\t$(':text', this).each(\n\t\t\t\t\t\t\t\t\t\t\tfunction(){\n\t\t\t\t\t\t\t\t\t\t\t\tfields[i] = this;\n\t\t\t\t\t\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t$(':hidden', this).each(\n\t\t\t\t\t\t\t\t\t\t\tfunction(){\n\t\t\t\t\t\t\t\t\t\t\t\tvar bday = false;\n\t\t\t\t\t\t\t\t\t\t\t\tif (fields.length == 2){\n\t\t\t\t\t\t\t\t\t\t\t\t\tbday = true;\n\t\t\t\t\t\t\t\t\t\t\t\t\tfields[2] = {'value':1970};\/\/trick birthdays into having years\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\tif ( fields[0].value=='MM' && fields[1].value=='DD' && (fields[2].value=='YYYY' || (bday && fields[2].value==1970) ) ){\n\t\t\t\t\t\t\t\t\t\t\t\t\tthis.value = '';\n\t\t\t\t\t\t\t\t\t\t\t\t} else if ( fields[0].value=='' && fields[1].value=='' && (fields[2].value=='' || (bday && fields[2].value==1970) ) ){\n\t\t\t\t\t\t\t\t\t\t\t\t\tthis.value = '';\n\t\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (\/\\[day\\]\/.test(fields[0].name)){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tthis.value = fields[1].value+'\/'+fields[0].value+'\/'+fields[2].value;\t\t\t\t\t\t\t\t\t        \n\t\t\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tthis.value = fields[0].value+'\/'+fields[1].value+'\/'+fields[2].value;\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\treturn mce_validator.form();\n\t\t\t\t\t\t\t}, \n\t\t\t\t\t\t\tsuccess: mce_success_cb\n\t\t\t\t\t\t};\n\t\t\t  $('#mc-embedded-subscribe-form').ajaxForm(options);\n\t\t\t  \n\t\t\t  \n\t\t\t});\n\t\t}\n\t\tfunction mce_success_cb(resp){\n\t\t\t$('#mce-success-response').hide();\n\t\t\t$('#mce-error-response').hide();\n\t\t\tif (resp.result==\"success\"){\n\t\t\t\t$('#mce-'+resp.result+'-response').show();\n\t\t\t\t$('#mce-'+resp.result+'-response').html(resp.msg);\n\t\t\t\t$('#mc-embedded-subscribe-form').each(function(){\n\t\t\t\t\tthis.reset();\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tvar index = -1;\n\t\t\t\tvar msg;\n\t\t\t\ttry {\n\t\t\t\t\tvar parts = resp.msg.split(' - ',2);\n\t\t\t\t\tif (parts[1]==undefined){\n\t\t\t\t\t\tmsg = resp.msg;\n\t\t\t\t\t} else {\n\t\t\t\t\t\ti = parseInt(parts[0]);\n\t\t\t\t\t\tif (i.toString() == parts[0]){\n\t\t\t\t\t\t\tindex = parts[0];\n\t\t\t\t\t\t\tmsg = parts[1];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tindex = -1;\n\t\t\t\t\t\t\tmsg = resp.msg;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} catch(e){\n\t\t\t\t\tindex = -1;\n\t\t\t\t\tmsg = resp.msg;\n\t\t\t\t}\n\t\t\t\ttry{\n\t\t\t\t\tif (index== -1){\n\t\t\t\t\t\t$('#mce-'+resp.result+'-response').show();\n\t\t\t\t\t\t$('#mce-'+resp.result+'-response').html(msg);            \n\t\t\t\t\t} else {\n\t\t\t\t\t\terr_id = 'mce_tmp_error_msg';\n\t\t\t\t\t\thtml = '<div id=\"'+err_id+'\" style=\"'+err_style+'\"> '+msg+'<\/div>';\n\t\t\t\t\t\t\n\t\t\t\t\t\tvar input_id = '#mc_embed_signup';\n\t\t\t\t\t\tvar f = $(input_id);\n\t\t\t\t\t\tif (ftypes[index]=='address'){\n\t\t\t\t\t\t\tinput_id = '#mce-'+fnames[index]+'-addr1';\n\t\t\t\t\t\t\tf = $(input_id).parent().parent().get(0);\n\t\t\t\t\t\t} else if (ftypes[index]=='date'){\n\t\t\t\t\t\t\tinput_id = '#mce-'+fnames[index]+'-month';\n\t\t\t\t\t\t\tf = $(input_id).parent().parent().get(0);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tinput_id = '#mce-'+fnames[index];\n\t\t\t\t\t\t\tf = $().parent(input_id).get(0);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (f){\n\t\t\t\t\t\t\t$(f).append(html);\n\t\t\t\t\t\t\t$(input_id).focus();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$('#mce-'+resp.result+'-response').show();\n\t\t\t\t\t\t\t$('#mce-'+resp.result+'-response').html(msg);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} catch(e){\n\t\t\t\t\t$('#mce-'+resp.result+'-response').show();\n\t\t\t\t\t$('#mce-'+resp.result+'-response').html(msg);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t<\/script>\n\t\t<!--End mc_embed_signup-->\n\t\t\n\t\t<\/div>\n\t\t\n<\/div>\n<!-- content-standard end -->\n<!-- \/vdg-content-wrapped -->","protected":false},"excerpt":{"rendered":"<p>Subscribe to our Chamber Mailing List * indicates required First Name Last Name Email Address * Business Name Events Mailing List Sign-Up for our Events Mail List Chamber Members Mailing List Sign-Up for our Members Mail List<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":151,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ngg_post_thumbnail":0,"footnotes":""},"class_list":["post-203","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/watertowntn.com\/_staging\/wp-json\/wp\/v2\/pages\/203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/watertowntn.com\/_staging\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/watertowntn.com\/_staging\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/watertowntn.com\/_staging\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/watertowntn.com\/_staging\/wp-json\/wp\/v2\/comments?post=203"}],"version-history":[{"count":1,"href":"https:\/\/watertowntn.com\/_staging\/wp-json\/wp\/v2\/pages\/203\/revisions"}],"predecessor-version":[{"id":204,"href":"https:\/\/watertowntn.com\/_staging\/wp-json\/wp\/v2\/pages\/203\/revisions\/204"}],"up":[{"embeddable":true,"href":"https:\/\/watertowntn.com\/_staging\/wp-json\/wp\/v2\/pages\/151"}],"wp:attachment":[{"href":"https:\/\/watertowntn.com\/_staging\/wp-json\/wp\/v2\/media?parent=203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}