document.addEventListener(“DOMContentLoaded”, function(){
const FORM_TIME_START = Math.floor((new Date).getTime()/1000);
let formElement = document.getElementById(“tfa_0”);
if (null === formElement) {
formElement = document.getElementById(“0”);
}
let appendJsTimerElement = function(){
let formTimeDiff = Math.floor((new Date).getTime()/1000) – FORM_TIME_START;
let cumulatedTimeElement = document.getElementById(“tfa_dbCumulatedTime”);
if (null !== cumulatedTimeElement) {
let cumulatedTime = parseInt(cumulatedTimeElement.value);
if (null !== cumulatedTime && cumulatedTime > 0) {
formTimeDiff += cumulatedTime;
}
}
let jsTimeInput = document.createElement(“input”);
jsTimeInput.setAttribute(“type”, “hidden”);
jsTimeInput.setAttribute(“value”, formTimeDiff.toString());
jsTimeInput.setAttribute(“name”, “tfa_dbElapsedJsTime”);
jsTimeInput.setAttribute(“id”, “tfa_dbElapsedJsTime”);
jsTimeInput.setAttribute(“autocomplete”, “off”);
if (null !== formElement) {
formElement.appendChild(jsTimeInput);
}
};
if (null !== formElement) {
if(formElement.addEventListener){
formElement.addEventListener(‘submit’, appendJsTimerElement, false);
} else if(formElement.attachEvent){
formElement.attachEvent(‘onsubmit’, appendJsTimerElement);
}
}
});
wFORMS.behaviors.prefill.skip = false;
#tfa_22,
*[id^=”tfa_22[“] {
width: 254px !important;
}
#tfa_22-D,
*[id^=”tfa_22[“][class~=”field-container-D”] {
width: auto !important;
}
#tfa_23,
*[id^=”tfa_23[“] {
width: 254px !important;
}
#tfa_23-D,
*[id^=”tfa_23[“][class~=”field-container-D”] {
width: auto !important;
}
#tfa_24,
*[id^=”tfa_24[“] {
width: 257px !important;
}
#tfa_24-D,
*[id^=”tfa_24[“][class~=”field-container-D”] {
width: auto !important;
}
#tfa_24-L,
label[id^=”tfa_24[“] {
width: 277px !important;
min-width: 0px;
}
#tfa_3412,
*[id^=”tfa_3412[“] {
width: 254px !important;
}
#tfa_3412-D,
*[id^=”tfa_3412[“][class~=”field-container-D”] {
width: auto !important;
}
#tfa_25,
*[id^=”tfa_25[“] {
width: 254px !important;
}
#tfa_25-D,
*[id^=”tfa_25[“][class~=”field-container-D”] {
width: auto !important;
}
#tfa_3411,
*[id^=”tfa_3411[“] {
width: 254px !important;
}
#tfa_3411-D,
*[id^=”tfa_3411[“][class~=”field-container-D”] {
width: auto !important;
}
#tfa_31,
*[id^=”tfa_31[“] {
width: 260px !important;
}
#tfa_31-D,
*[id^=”tfa_31[“][class~=”field-container-D”] {
width: auto !important;
}
#tfa_3427-L,
label[id^=”tfa_3427[“] {
width: 440px !important;
min-width: 0px;
}
#tfa_3434,
*[id^=”tfa_3434[“] {
width: 274px !important;
}
#tfa_3434-D,
*[id^=”tfa_3434[“][class~=”field-container-D”] {
width: auto !important;
}
#tfa_3435,
*[id^=”tfa_3435[“] {
width: 274px !important;
}
#tfa_3435-D,
*[id^=”tfa_3435[“][class~=”field-container-D”] {
width: auto !important;
}
#tfa_3440,
*[id^=”tfa_3440[“] {
width: 197px !important;
}
#tfa_3440-D,
*[id^=”tfa_3440[“][class~=”field-container-D”] {
width: auto !important;
}
#tfa_3440-L,
label[id^=”tfa_3440[“] {
width: 257px !important;
min-width: 0px;
}
2023 Board Pledge Form