Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
#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.
#830235
You can download the JS file to your processmaker public_html directory and add the file name to your Dynaform's external libs property. Note however that the public_html directory will be overwritten when Processmaker is upgraded. To protect from this, you can create a plugin and save all your files including logo's etc to your plugin's public_html folder.

Or you can copy and paste the JS code directly into the Dynaform's JavaScript property. Note however if there is an error in the JS code, your Dynaform will not load.

Let me know if this works for you.

How to write a good statement of purpose Peruse th[…]

Hi Why https://www.pmusers.com/index.php/Disabling[…]

dropdown keys cannot call

on my grid i cant call the dropdown function and i[…]

grid programming

A network of computers working together to complet[…]