Widget:ListSignup

From Buddha-Nature
Revision as of 07:05, 15 August 2024 by JeremiP (talk | contribs) ((by SublimeText.Mediawiker))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<script type="text/javascript"> var _paq = _paq || []; (function(){ if(window.apScriptInserted) return; _paq.push(['clientToken', 'P%2bsIjEMd6oQ%3d']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.async=true; g.defer=true; g.src='https://prod.benchmarkemail.com/tracker.bundle.js'; s.parentNode.insertBefore(g,s); window.apScriptInserted=true;})(); </script> <script type="text/javascript"> function CheckField1083638(fldName, frm){ var fldObj = document.getElementsByName(fldName); if ( fldObj.length > 1) { for ( var i = 0, l = fldObj.length; i < l; i++ ) { if ( fldObj[0].type =='select-one' ) { if( fldObj[i].selected && i==0 && fldObj[i].value == ) { return false; } if ( fldObj[i].selected ) { return true; } } else { if ( fldObj[i].checked ) { return true; } }; } return false; } else { if ( fldObj[0].type == "checkbox" ) { return ( fldObj[0].checked ); } else if ( fldObj[0].type == "radio" ) { return ( fldObj[0].checked ); } else { fldObj[0].focus(); return (fldObj[0].value.length > 0); }} } function _doSubmit1083638(frm) { if( _checkSubmit1083638(frm)){ _doPost1083638(frm);}} function _doPost1083638(frm) { var f = document.createElement("form"); f.setAttribute('accept-charset', "UTF-8"); f.setAttribute('method', "post"); f.setAttribute('action', "https://lb.benchmarkemail.com//code/lbform"); f.setAttribute('target', "_blank");var elms = document.getElementsByName("frmLB" + frm)[0].getElementsByTagName("*");var ty = ""; for (var ei = 0; ei < elms.length; ei++) {ty = elms[ei].type; if (ty == "hidden" || ty == "text" || (ty == "checkbox" && elms[ei].checked) || (ty == "radio" && elms[ei].checked) || ty == "textarea" || ty == "select-one" || ty == "button") {elm = elms[ei]; var i = document.createElement("input"); i.type = "hidden"; i.name = elm.name.replace("_3DXPD", ""); i.id = elm.id; i.value = elm.value; f.appendChild(i);} } document.getElementsByTagName('body')[0].appendChild(f);f.submit();}function rmspaces(x) {var leftx = 0;var rightx = x.length -1;while ( x.charAt(leftx) == ' ') { leftx++; }while ( x.charAt(rightx) == ' ') { --rightx; }var q = x.substr(leftx,rightx-leftx + 1);if ( (leftx == x.length) && (rightx == -1) ) { q =; } return(q); } function checkfield(data) {if (rmspaces(data) == ""){return false;}else {return true;}} function isemail(data) {var flag = false;if ( data.indexOf("@",0) == -1 || data.indexOf("\\",0)  != -1 ||data.indexOf("/",0)  != -1 ||!checkfield(data) || data.indexOf(".",0) == -1 || data.indexOf("@") == 0 ||data.lastIndexOf(".") < data.lastIndexOf("@") ||data.lastIndexOf(".") == (data.length - 1) ||data.lastIndexOf("@") != data.indexOf("@") ||data.indexOf(",",0)  != -1 ||data.indexOf(":",0)  != -1 ||data.indexOf(";",0)  != -1 ) {return flag;} else {var temp = rmspaces(data);if (temp.indexOf(' ',0) != -1) { flag = true; }var d3 = temp.lastIndexOf('.') + 4;var d4 = temp.substring(0,d3);var e2 = temp.length - temp.lastIndexOf('.') - 1;var i1 = temp.indexOf('@');if ( (temp.charAt(i1+1) == '.') || ( e2 < 1 ) ) { flag = true; }return !flag;}} function _checkSubmit1083638(frm){ if ( !CheckField1083638("fldfirstname_3DXPD", frm) ) { alert("Please enter the First Name"); return false; } if ( !CheckField1083638("fldlastname_3DXPD", frm) ) { alert("Please enter the Last Name"); return false; } if ( !isemail(document.getElementsByName("fldEmail_3DXPD")[0].value) ) { alert("Please enter the Email Address "); return false; } if(isemail(document.getElementsByName("fldEmail_3DXPD")[0].value) && window && window.JB_TRACKER && typeof window.JB_TRACKER.jbSubmitForm === 'function') { window.JB_TRACKER.jbSubmitForm({ email: document.getElementsByName("fldEmail_3DXPD")[0].value, didSubmit: true }); } return true; } document.write("<style type=\"text/css\"> .formbox-editor-1083638 { margin: 0 auto; padding: 30px 40px; text-align: left !important; max-width: 100%; box-sizing: border-box; background-color:transparent !important; } .formbox-editor-1083638 fieldset { border: none; position: relative; width: 100%; } .formbox-editor-1083638 fieldset > input, .formbox-editor fieldset > textarea, .formbox-editable-field { margin: 10px 0; outline: none; } .formbox-title-1083638 { background: none; border: none; color: #fffcf5; font-size: 20px; padding: 0; width: 100%; word-break: break-word; margin: 10px 0; border-radius: 0; min-height: 0; text-align:left !important; } input.formbox-field-1083638 { border: 2px solid #f1f2f2; border-radius: 0; box-sizing: border-box; color: #000; padding: 15px; width: 100%; height: auto; } input.field-error-1083638 { border-color: #f15858; } input.formbox-button-1083638 { background-color: #21292d; border-width: 0; border-style: solid; border-color: #21292d; border-radius: 8px; color: #fff; display: inline-block; font-size: 14px; font-weight: 600; padding: 15px; margin: 10px 0; text-align: center; word-break: break-all; cursor: pointer; } button.formbox-button-1083638 { background-color: #21292d; border-width: 0; border-style: solid; border-color: #21292d; border-radius: 8px; color: #fff; display: inline-block; font-size: 14px; font-weight: 600; padding: 15px; margin: 10px 0; text-align: center; word-break: break-all; cursor: pointer; } .formbox-button-1083638 { font-weight:600 !important; color:#3e3e3e !important; background-color:#f7f2e4 !important; border-radius:2px !important; border-color:#f7f2e4 !important; border-width:0px !important; border-style:solid; } #tdLogo1083638 img { margin-botton:10px; max-width:230px; } </style>"); document.write(""); </script><noscript>Please enable JavaScript
</noscript>

<input type=hidden name=successurl value="https://lb.benchmarkemail.com/Code/Welcome" /> <input type=hidden name=errorurl value="http://lb.benchmarkemail.com//Code/Error" /> <input type=hidden name=token value="mFcQnoBFKMThM0VRQvINdFgg49YEcrgG1DbazK9Br6eKnvJoHYVXFQ%3D%3D" /> <input type=hidden name=doubleoptin value="0" /> <fieldset>

Sign up for the Buddha-Nature mailing list:

</fieldset> <fieldset class="formbox-field-fname-1083638 py-2"> <input type=text placeholder="First Name *" class="formbox-field-1083638" name="fldfirstname_3DXPD" maxlength=100 /> </fieldset> <fieldset class="formbox-field-add-1083638 py-2"> <input type=text placeholder="Last Name *" class="formbox-field-1083638" name="fldlastname_3DXPD" maxlength=100 /> </fieldset> <fieldset class="formbox-field-email-1083638 py-2"> <input type=text placeholder="Email Address *" class="formbox-field-1083638" name="fldEmail_3DXPD" maxlength=100 /> </fieldset> <fieldset> <button type="button" id="btnSubmit" krydebug="1751" class="formbox-button-1083638 mt-2" onclick="javascript:_doSubmit1083638('1083638');">Subscribe</button> </fieldset>