Widget:TsadraGeneralListSignup: Difference between revisions

From Rinchen Terdzö
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 1: Line 1:
<div class="hide-last-div">
<!--JB Tracker--> <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> <!--/JB Tracker--> <!-- BEGIN: Benchmark Email Signup Form Code --> <script>function CheckField1760427(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 _doSubmit1760427(frm) { if( _checkSubmit1760427(frm)){ _doPost1760427(frm);}} function _doPost1760427(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"); 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("_8JLFK", ""); 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 _checkSubmit1760427(frm){if ( !CheckField1760427("fldfirstname_8JLFK", frm) ) {alert("Please enter the First Name"); return false; } if ( !CheckField1760427("fldlastname_8JLFK", frm) ) {alert("Please enter the Last Name"); return false; } if ( !isemail(document.getElementsByName("fldEmail_8JLFK")[0].value) ) {alert("Please enter the Email Address "); return false; } if(isemail(document.getElementsByName("fldEmail_8JLFK")[0].value) && window && window.JB_TRACKER && typeof window.JB_TRACKER.jbSubmitForm === 'function') {window.JB_TRACKER.jbSubmitForm({email: document.getElementsByName("fldEmail_8JLFK")[0].value, didSubmit: true }); } return true; }</script>
<!--JB Tracker--><script type="text/javascript"> var _paq = _paq || []; (function(){ if(window.apScriptInserted) return; _paq.push(['clientToken', 'UdF4m67iQnPJgcarKE2ERmBDj84k3OgMTfCyKdWCpYTNpFiAHQjPW3Q8Soal7qeH']); 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><!--/JB Tracker--><!-- BEGIN: Benchmark Email Signup Form Code -->
<style type="text/css">.formbox-editor-1760427 {margin: 0 auto;padding: 30px 40px;text-align: left;max-width: 100%;box-sizing: border-box;}.formbox-editor-1760427 fieldset {border: none;margin: 0;padding: 0;position: relative;}.formbox-editor-1760427 fieldset > input, .formbox-editor fieldset > textarea, .formbox-editable-field {margin: 10px 0;outline: none;}.formbox-title-1760427 {background: none;border: none;color: #000;font-family: Helvetica, Arial, sans-serif;font-size: 20px;padding: 0;width: 100%;word-break: break-word;margin: 10px 0;}.formbox-title-1760427 {border-radius: 0;min-height: 0;}input.formbox-field-1760427 {border: 2px solid #f1f2f2;border-radius: 0;box-sizing: border-box;color: #000;font-family: Helvetica, Arial, sans-serif;font-size: 14px;padding: 15px;width: 100%;height: auto;}input.field-error-1760427 {border-color: #f15858;}input.formbox-button-1760427 {background-color: #21292d;border-width: 0;border-style: solid;border-color: #21292d;border-radius: 8px;color: #fff;display: inline-block;font-family: Helvetica, Arial, sans-serif;font-size: 14px;font-weight: 600;padding: 15px;margin: 10px 0;text-align: center;word-break: break-all;cursor: pointer;}button.formbox-button-1760427 {background-color: #21292d;border-width: 0;border-style: solid;border-color: #21292d;border-radius: 8px;color: #fff;display: inline-block;font-family: Helvetica, Arial, sans-serif;font-size: 14px;font-weight: 600;padding: 15px;margin: 10px 0;text-align: center;word-break: break-all;cursor: pointer;}.formbox-editor-1760427{background-color:transparent !important;}.formbox-title-1760427{font-family:Helvetica, Arial, sans-serif !important;font-size:16px !important;color:#000000 !important;text-align:left !important;}.formbox-button-1760427{font-family:Helvetica, Arial, sans-serif !important;font-size:14px !important;font-weight:600 !important;color:#ffffff !important;background-color:#91313b !important;border-radius:2px !important;border-color:#21292d !important;border-width:0px !important;border-style:solid;} #tdLogo1760427 img{margin-botton:10px; max-width:230px;}</style>
<script type="text/javascript" id="lbscript351716" src="https://lb.benchmarkemail.com//code/lbformnew.js?mFcQnoBFKMRH9s0VwX8uUOZXUawFafLCaNXryyVZD7vI%252Fcm0fp7f5A%253D%253D"></script><noscript>Please enable JavaScript</noscript>
<div align="center"><div class="formbox-editor-1760427" style="background: #fff; width: 320px;"><div style="display:inline;" name="frmLB1760427"><input type=hidden name=successurl value="https://lb.benchmarkemail.com//Code/ThankYouOptin?language=" /><input type=hidden name=errorurl value="https://lb.benchmarkemail.com//Code/Error" /><input type=hidden name=token value="mFcQnoBFKMT8zmr1QE8l5LJ25jqXIyRI1DbazK9Br6eKnvJoHYVXFQ%3D%3D" /><input type=hidden name=doubleoptin value="1" /><fieldset><div class="formbox-title-1760427">Join the Tsadra Foundation mailing list:</div></fieldset><fieldset class="formbox-field-fname-1760427"><input type=text placeholder="First Name *" class="formbox-field-1760427" name="fldfirstname_8JLFK" maxlength=100 /></fieldset><fieldset class="formbox-field-add-1760427"><input type=text placeholder="Last Name *" class="formbox-field-1760427" name="fldlastname_8JLFK" maxlength=100 /></fieldset><fieldset class="formbox-field-email-1760427"><input type=text placeholder="Email Address  *" class="formbox-field-1760427" name="fldEmail_8JLFK" maxlength=100 /></fieldset><fieldset><button type="button" id="btnSubmit" krydebug="1751" class="formbox-button-1760427" onclick="javascript:_doSubmit1760427('1760427');"  >Subscribe</button></fieldset></div></div></div><noscript>Please enable JavaScript <br /></noscript> <!-- END: Benchmark Email Signup Form Code --> <style> .formbox-editor-1760427 {padding: 0 2em;} .formbox-title-1760427 {font-family: inherit !important; font-size: 1.2em !important; color: inherit !important; } input.formbox-field-1760427, button.formbox-button-1760427 {padding: .2em .5em; } </style>
<style type="text/css">
.bmform_outer351716 { width: 100% !important; }
.bmform_inner351716 { border: none; }
.bmform_head351716,
.bmform_frmtext351716,
#tblRequiredField351716,
.hide-last-div > div:last-of-type { display: none; }
.bmform_body351716,
.bmform_introtxt351716 {
background-color: unset;
color: inherit;
font-family: inherit;
font-size: 1.05em;
text-align: left;
font-weight: normal;
}
.bmform_frm351716 { width: 100%; }
#tblFieldData351716 input { margin-bottom: .5em; }
</style>
<script type="text/javascript">
document.querySelector('input[name^="fldfirstname_"]').setAttribute("placeholder", "First Name");
document.querySelector('input[name^="fldlastname_"]').setAttribute("placeholder", "Last Name");
document.querySelector('input[name^="fldEmail_"]').setAttribute("placeholder", "Email");
</script>
<!-- END: Benchmark Email Signup Form Code -->
</div>

Revision as of 10:43, 2 July 2024

<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>function CheckField1760427(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 _doSubmit1760427(frm) { if( _checkSubmit1760427(frm)){ _doPost1760427(frm);}} function _doPost1760427(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"); 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("_8JLFK", ""); 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 _checkSubmit1760427(frm){if ( !CheckField1760427("fldfirstname_8JLFK", frm) ) {alert("Please enter the First Name"); return false; } if ( !CheckField1760427("fldlastname_8JLFK", frm) ) {alert("Please enter the Last Name"); return false; } if ( !isemail(document.getElementsByName("fldEmail_8JLFK")[0].value) ) {alert("Please enter the Email Address "); return false; } if(isemail(document.getElementsByName("fldEmail_8JLFK")[0].value) && window && window.JB_TRACKER && typeof window.JB_TRACKER.jbSubmitForm === 'function') {window.JB_TRACKER.jbSubmitForm({email: document.getElementsByName("fldEmail_8JLFK")[0].value, didSubmit: true }); } return true; }</script>

<style type="text/css">.formbox-editor-1760427 {margin: 0 auto;padding: 30px 40px;text-align: left;max-width: 100%;box-sizing: border-box;}.formbox-editor-1760427 fieldset {border: none;margin: 0;padding: 0;position: relative;}.formbox-editor-1760427 fieldset > input, .formbox-editor fieldset > textarea, .formbox-editable-field {margin: 10px 0;outline: none;}.formbox-title-1760427 {background: none;border: none;color: #000;font-family: Helvetica, Arial, sans-serif;font-size: 20px;padding: 0;width: 100%;word-break: break-word;margin: 10px 0;}.formbox-title-1760427 {border-radius: 0;min-height: 0;}input.formbox-field-1760427 {border: 2px solid #f1f2f2;border-radius: 0;box-sizing: border-box;color: #000;font-family: Helvetica, Arial, sans-serif;font-size: 14px;padding: 15px;width: 100%;height: auto;}input.field-error-1760427 {border-color: #f15858;}input.formbox-button-1760427 {background-color: #21292d;border-width: 0;border-style: solid;border-color: #21292d;border-radius: 8px;color: #fff;display: inline-block;font-family: Helvetica, Arial, sans-serif;font-size: 14px;font-weight: 600;padding: 15px;margin: 10px 0;text-align: center;word-break: break-all;cursor: pointer;}button.formbox-button-1760427 {background-color: #21292d;border-width: 0;border-style: solid;border-color: #21292d;border-radius: 8px;color: #fff;display: inline-block;font-family: Helvetica, Arial, sans-serif;font-size: 14px;font-weight: 600;padding: 15px;margin: 10px 0;text-align: center;word-break: break-all;cursor: pointer;}.formbox-editor-1760427{background-color:transparent !important;}.formbox-title-1760427{font-family:Helvetica, Arial, sans-serif !important;font-size:16px !important;color:#000000 !important;text-align:left !important;}.formbox-button-1760427{font-family:Helvetica, Arial, sans-serif !important;font-size:14px !important;font-weight:600 !important;color:#ffffff !important;background-color:#91313b !important;border-radius:2px !important;border-color:#21292d !important;border-width:0px !important;border-style:solid;} #tdLogo1760427 img{margin-botton:10px; max-width:230px;}</style>

<input type=hidden name=successurl value="https://lb.benchmarkemail.com//Code/ThankYouOptin?language=" /><input type=hidden name=errorurl value="https://lb.benchmarkemail.com//Code/Error" /><input type=hidden name=token value="mFcQnoBFKMT8zmr1QE8l5LJ25jqXIyRI1DbazK9Br6eKnvJoHYVXFQ%3D%3D" /><input type=hidden name=doubleoptin value="1" /><fieldset>
Join the Tsadra Foundation mailing list:
</fieldset><fieldset class="formbox-field-fname-1760427"><input type=text placeholder="First Name *" class="formbox-field-1760427" name="fldfirstname_8JLFK" maxlength=100 /></fieldset><fieldset class="formbox-field-add-1760427"><input type=text placeholder="Last Name *" class="formbox-field-1760427" name="fldlastname_8JLFK" maxlength=100 /></fieldset><fieldset class="formbox-field-email-1760427"><input type=text placeholder="Email Address *" class="formbox-field-1760427" name="fldEmail_8JLFK" maxlength=100 /></fieldset><fieldset><button type="button" id="btnSubmit" krydebug="1751" class="formbox-button-1760427" onclick="javascript:_doSubmit1760427('1760427');" >Subscribe</button></fieldset>

<noscript>Please enable JavaScript
</noscript> <style> .formbox-editor-1760427 {padding: 0 2em;} .formbox-title-1760427 {font-family: inherit !important; font-size: 1.2em !important; color: inherit !important; } input.formbox-field-1760427, button.formbox-button-1760427 {padding: .2em .5em; } </style>