PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / V3.3.2
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder vV3.3.2
V3.3.2 3.3.1 V-3.3.0 3.2.2 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 V3.0.3 V3.0.2 -3.0.1 V_3.0.0 1.1.1 1.1.8 1.2 1.3 1.4 1.4.18 1.5.2 1.9 2.0 2.10.0 All 139 releases
bit-form / assets / bit-form-abandonment.min.js

bit-form-abandonment.min.js in Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder V3.3.2, at assets/bit-form-abandonment.min.js

2 lines 713 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 var bit_form_abandonment=function(){"use strict";return function(e=null){(e?[e]:Object.keys(window?.bf_globals||{})).forEach(e=>{const n=window.bf_globals[e];let t=null;try{t=JSON.parse(localStorage.getItem(`bitform-partial-form-${n.formId}`)||"null")}catch(e){}t&&"object"==typeof t&&!n.oldValues&&(n.oldValues=t,n.entryId||(n.entryId=t.entryId,n.entryToken=t.entryToken))}),document.querySelectorAll(".bf-trigger-form-abandonment").forEach(e=>{e.addEventListener("click",()=>{const n=e.closest("form"),t=bfSelect(".bf-spinner",e);t.classList.remove("d-none");const o=n.id.replace("form-","");saveFormProgress(o).then(e=>{e?.success&&t.classList.add("d-none")}).finally(()=>{t.classList.add("d-none")})})})}}();
2