- Mon Oct 03, 2022 2:54 am
#830229
Dear Concern,
I'm loading JS through external libs that manipulates form elements of the dynaform. However, the JS whenever I am manipulating the file, the changes won't reflect on the DOM as the JS file isn't loading after the changes, and often requires manual forced loading. How can I add the JS file so that it loads every time without requiring any intervention?
I have tried following this https://wiki.processmaker.com/3.1/JavaScript_in_DynaForms#Importing_files_referencing_Dynaform_objects
However, it does not work as the JS needs to load before the dynaform, that is, on load.
I'm loading JS through external libs that manipulates form elements of the dynaform. However, the JS whenever I am manipulating the file, the changes won't reflect on the DOM as the JS file isn't loading after the changes, and often requires manual forced loading. How can I add the JS file so that it loads every time without requiring any intervention?
I have tried following this https://wiki.processmaker.com/3.1/JavaScript_in_DynaForms#Importing_files_referencing_Dynaform_objects
However, it does not work as the JS needs to load before the dynaform, that is, on load.