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.
User avatar
By amosbatto
#826009
What version of PM are you using?

The JavaScript to uncheck a checkbox:
$("#myCheckbox").setValue("0")
or:
$("#myCheckbox").setValue(["0"])
where "myCheckbox" is the ID of the checkbox.

In recent versions, this is the JavaScript to change the value of another field when a checkbox is unchecked:
Code: Select all
$("#myCheckbox").setOnchange(  function(newVal, oldVal) {
    if (newVal ==  '"0"') {
         $("#aField").setValue("some value");
         $("#anotherField").setValue("another value");
    }
});
See:
https://wiki.processmaker.com/3.2/JavaS ... heckgroups
https://wiki.processmaker.com/3.2/JavaS ... etOnchange

Web3 development encompasses creating decentralize[…]

The Upland Clone Script, offered by Dappsfirm, rep[…]

Dappsfirm offers a bet365 clone script that mirror[…]

🚀 Tauchen Sie mit Immediate Alora AI in die Welt d[…]