Hi, How to grey out a txt field in portal version , I tried the foll

Hi,

How to grey out a txt field in portal version , I tried the following function(JS) below, but it does the same functionality as hide,

function loadForm() {

           if ((window.FormAPI.getValue("fldRequestAction").id)=="Pre-payment"){
                    var previouslySelectedRequestAction = window.FormAPI.getValue("fldRequestAction").id;
                    FormAPI.setValue("fldRequestAction", previouslySelectedRequestAction);
                    
                    window.FormAPI.getElementById("fldPages").disabled = true;
                    }
}

Thanks,
Sathish

OriginalPostID-206156

OriginalPostID-206156

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data