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.
SOAP-ERROR: Parsing WSDL

Hello there, We are using PM Enterprise version 3[…]

Detail information, thanks for your sharing.

Don't forget to unblock the core tables: https:/[…]

Oh, Really thank you Amos