0 events found.
var insertForm256000 = function() {
var html256000 = '' +
'.interaction-form label{color: #404040;' +
' display: block;}' +
'' +
'.interaction-form label.error{color:#900;' +
' display: inline-block; ' +
' padding: 0 10px;}' +
'' +
'.interaction-form .field{padding: 4px 0;}' +
'' +
'.interaction-form .field .required-star{color: #aa0000; ' +
' display: inline-block; ' +
' margin-left: 5px;}' +
'' +
'.interaction-form .field .checkboxes{max-width:275px;' +
' border: 1px solid #A9A9A9;' +
' -webkit-transition: all .3s ease-out;' +
' -moz-transition: all .3s ease-out;' +
' transition: all .3s ease-out;}' +
'' +
'.interaction-form .field .checkbox{display:block;' +
' position:relative;' +
' -moz-box-sizing:border-box;' +
' box-sizing:border-box;' +
' height:30px;' +
' line-height:26px;' +
' padding:2px 28px 2px 8px;' +
' border-bottom:1px solid rgba(0,0,0,0.1);' +
' color:#404040; ' +
' overflow:hidden;' +
' text-decoration:none; }' +
'' +
'.interaction-form .field .checkbox input{opacity:0.01;' +
' position:absolute;' +
' left:-50px; ' +
' z-index:-5;}' +
'' +
'.interaction-form .field .checkbox:last-child{border-bottom:none;}' +
'' +
'.interaction-form .field .checkbox.selected{background: rgb(50, 142, 253);' +
' color:#fff; }' +
'' +
'.interaction-form .field .checkbox.selected:before{color:#fff;' +
' line-height:30px;' +
' position:absolute;' +
' right:10px; }' +
'' +
'.interaction-form .field.radio input,' +
' .interaction-form .field.checkbox input{width: auto;' +
' margin-left:0;}' +
'' +
'.interaction-form .section.consent .field.checkbox:not(.consent-all){margin-left: 20px;}' +
'' +
'.interaction-form .field input,' +
' .interaction-form .field select,' +
' .interaction-form .field textarea{padding: 4px; ' +
' max-width: 275px;' +
' width: 96%}' +
'' +
'.interaction-form .field textarea.international{height: 120px;}' +
'' +
'.interaction-form .errors{border: 1px solid #900;' +
' color: #900; ' +
' padding: 10px;}' +
'' +
'.interaction-form .hidden{display: none;}' +
'' +
'.btn-group .btn-submit-email{padding: 4px 10px;}' +
'' +
'input, select, textarea, button{font-family: inherit;}' +
'' +
'.btn-som {background-color: #8f3b1b; color: white;}' +
'' +
'.btn-som:hover {background-color: #d57500; color: white;}' +
'' +
'' +
'' +
'' +
' ' +
' ' +
' ' +
' Sign Up for SOM International Updates
' +
' ' +
'' +
'' +
'' +
'' +
'' +
'' +
'' +
'' +
'' +
'' +
'' +
'' +
'' +
' ' +
' ' +
'' +
'' +
'' +
'' +
'' +
'' +
'' +
'' +
'' +
'' +
'' +
'' +
'' +
' ' +
' ' +
' ' +
' ' +
' ' +
'' +
'' +
'' + '';var successHtml256000 = '' +
' Footer Sign Up
' +
' Thanks for signing up.
' +
' ' +
'';( function($) {if (!Bloomerang.useInteractionId('256000')) {
html256000 = 'Only one Volunteer Activity or Constituent Information form can be used on each page.
';
}
if (jQuery('#bloomerangForm256000').length) {
jQuery('#bloomerangForm256000').after(html256000);
};
if (Bloomerang.interactionFormLoaded) {
return false;
}
Bloomerang.interactionFormLoaded = true;
jQuery('.interaction-form .section.captcha').attr('style', 'display: none');
Bloomerang.useKey('pub_7f6de0d4-16cc-11ef-8b86-0a3287177f03');
// Register proper callbacks for various stages/outcomes of submission
Bloomerang.Widget.Interaction.OnSubmit = function (args) {
jQuery(".btn-submit-interaction").val("Submitting...").prop("disabled", true).addClass("disabled");
var val = function (selector) { return jQuery(selector).val(); };
Bloomerang.Account
.individual()
.firstName(val(".interaction-form #first-name"))
.lastName(val(".interaction-form #last-name"))
.homeEmail(val(".interaction-form #email-address"))
.homePhone(val(".interaction-form #phone-number"))
.applyInteractionCustomFields();
if (jQuery(".interaction-form #consent-all").prop("checked")) {
Bloomerang.Account.optedInStatus(jQuery(".interaction-form #consent-email").prop("checked"),
jQuery(".interaction-form #consent-mail").prop("checked"),
jQuery(".interaction-form #consent-phone").prop("checked"));
}
// Always sending the address, even if it's blank, because we need to know the Country for GDPR purposes
var country = val(".interaction-form #country");
var state = Bloomerang.Util.getCorrectState(country, val(".interaction-form #state"), val(".interaction-form #province"));
var zipCode = Bloomerang.Util.getCorrectZipCode(country, val(".interaction-form #zip-code"), val(".interaction-form #postal-code"));
Bloomerang.Account.homeAddress(val(".interaction-form #street-address"),
val(".interaction-form #city"),
state,
zipCode,
country);
Bloomerang.Interaction.note(val(".interaction-form #comment"));
if (jQuery("#volunteer-date").length) {
Bloomerang.Interaction.date(jQuery("#volunteer-date").val());
}
Bloomerang.Interaction.applyInteractionCustomFields();
};
Bloomerang.ValidateInteractionFormCaptcha = function() {
if (typeof(grecaptcha) !== "undefined" && jQuery("#captcha" + Bloomerang.Data.WidgetIds.Interaction).children().length) {
var captchaResponse = grecaptcha.getResponse(jQuery(".interaction-form").data("captcha-id"));
if (captchaResponse) {
jQuery(".interaction-form .noCaptchaResponseError").hide();
Bloomerang.captchaResponse(captchaResponse);
return true;
} else {
jQuery(".interaction-form .noCaptchaResponseError").show();
return false;
}
} else return true;
};
Bloomerang.Api.OnSuccess = Bloomerang.Widget.Interaction.OnSuccess = function (response) {
jQuery("#interaction-form-container").html(successHtml256000);
var distance = 100;
var offset = jQuery("#interaction-form-container").offset().top;
var offsetTop = offset > distance ? offset - distance : offset;
jQuery('html, body').animate({ scrollTop : offsetTop}, 500);
};
Bloomerang.Api.OnError = Bloomerang.Widget.Interaction.OnError = function (response) {
jQuery(".btn-submit-interaction").val("Submit").prop("disabled", false).removeClass("disabled");
jQuery("#interaction-form-container .errors").removeClass("hidden").html(response.Message);
var distance = 100;
var offset = jQuery("#interaction-form-container .errors").offset().top;
var offsetTop = offset > distance ? offset - distance : offset;
jQuery('html, body').animate({ scrollTop : offsetTop}, 500);
if (typeof(grecaptcha) !== "undefined" && jQuery("#captcha" + Bloomerang.Data.WidgetIds.Interaction).children().length) {
grecaptcha.reset(jQuery(".interaction-form").data("captcha-id"));
}
};
Bloomerang.Util.applyInteractionCustomFields = function (obj, type) {
// Clear any fields from a previous failed submission
obj.clearCustomFields();
// Apply all (not multiselect), and Spirit of Martyrdom (EIN 26-1614003) is committed to respecting the privacy of our donors. We have developed this privacy policy and terms of service to ensure our donors that donor information will not be shared with any third party.
© Copyright 2012 – 2025 | All Rights Reserved
