| 1 |
var hidden_token_field=function(){"use strict";return function(e=null){(e?[e]:Object.keys(window?.bf_globals||{})).forEach((e=>{((e,n)=>{const o=bfSelect(`#form-${e}`);if(o){const e=new URL(n.ajaxURL);e.searchParams.append("action","bitforms_onload_added_field");const d={formId:n.formId};fetch(e,{method:"POST",body:JSON.stringify(d),headers:{"Content-Type":"application/json"}}).then((e=>e.json())).then((e=>{void 0!==e?.success&&e?.data?.hidden_fields?.map((e=>{setHiddenFld(e,o)}))}))}})(e,window.bf_globals[e])}))}}(); |