Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: amosbatto

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
#825434
Here is an example:
Code: Select all
$("#selectColor").setOnchange( function(newVal, oldVal) {
   if (newVal == "blue") {
       //first enable all radio options:
       $("#selectFurniture").find("input.pmdynaform-control-radio").prop("disabled", false);
       //then disable one of the radio options:
       $("#selectFurniture").find("input.pmdynaform-control-radio[value=chair]").prop("disabled", true);
       //if "chair" is the selected option, then unset the value in the radio box:
       if ($("selectFurniture").getValue() == "chair") {
           $("selectFurniture").setValue(""); //set to the first available option which isn't "chair"
       }
    }
});
Where selectColor is the ID of the dropdown box and if its selected option is "blue", then disable the option "chair" in the "selectFurniture" dropdown box.
Amosbatto, PMUsers.com is down.

It would be nice if ProcessMaker can let us know w[…]

Hi, What is your server config? Is your server Wi[…]

Hi, It's not possible, because processmaker set s[…]

Filtering Grids For Parallel Tasks

Hi, You must create a grid for example @=tempGrid[…]