Forms & Tasks Designerπ π§¨
Trigger Events for Form and El...
Trigger JavaScript
9 min
overview you can run your script and interact with form variables using javascript π form variable the form variable object procesioform describes a form, its related flow, instance, variables and all configured fields { "data" { }, "variables" { } } data β contains information about the current form fields, instance, flow and form attributes variables β holds additional variables related to the form (e g , uploaded files) procesioform data fields defines all form elements each field has configuration such as label, visibility, type, and value, etc check corresponding element's page for documentation fields docid\ rz0nskezv5sxjzudz ufx docid\ q10eeifthnz6mwtbbru65 docid\ k6el1qenvispcysotec9e docid\ ukx1pks3rfiztzlwu6yhd docid\ muo5laimbnbp1fa6wipqg docid\ icgjoeos4rmv0n7i2jbbr docid 2u9zzgnz79u qgkdw eir docid 2uawa1p wfg2tfj7 8et docid 9pbcx1dpx95oqukfydzda docid\ ohds ovmxhbrxjjn bt w docid\ crpl2ua5a5vle8yhrnnm8 docid\ jetcc9zibzhfilryupgxf docid\ kxbi4hrueqjjiiylr2lxq structure docid\ tmp3qxqnympvc hp3ok1j docid\ tnctftfh sgdvrhpmpqeq docid 0 qvgcvhmbrnan6nq7ei docid\ dtic8lmok7jezbj eqzff docid\ xfyesdugcfasvi3rbeg5w docid\ kladklh9wbaulpsebxtve docid\ k2t50l724ff8gtsc0vzrw docid\ vqfv5f4upf42rj7mpztgu docid\ jfciuaeud bvx3stcy1ny docid\ utg qn6 ot6qudkzvllik docid 3lsblcxvd3lhu5srqlvw6 docid\ hdkbiht o0teagqdspc 4 docid\ lh6ksi8iysaevtdpmr2yb table docid\ wvpuh93gishimmhgk56jx docid\ lxhezlzymif rajr1vmcl docid\ yn0atpg3tmctdd1qxu7if procesioform data form data and attributes true 188,367,100 unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type procesioform data instance information about the form instance and users true 100,336,100 unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type procesioform data flow information about the flow execution connected to this form true 129,276,116,100 unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type procesioform variables holds extra variables created on the form getting started choose trigger javascript event write your script in the editor (you can enlarge the editor pressing esc button) example this script allows to access to form data example of usage 1\ get field value const value = procesioform data fields input1 value; 2\ set field value procesioform data fields input1 value = "value"; 3\ set field readonly state procesioform data fields input1 readonly = true; where input1 is element name 4\ get form variable value const value = procesioform variables var1; 5\ set form variable value procesioform variables var1 = "value" where var1 is form variable name troubleshooting if you encounter issues with your form events check browser console for error messages and details verify javascript and form variables syntax for support, please join our https //discord com/invite/cebukgjefv for further assistance and support
