Field Greyed Out

Andrew Bishop1
Tera Contributor

When I save an Enhancement and go back in, I’m not able to select a different Pending Reason (custom string field) without first changing the State field (UI policy to only show Pending Reason variable IF the State = Pending) to something else, then change back to pending, then adding the reason.

In the screenshot below, you can see that the pending reason field is grayed out. That doesn’t feel like it’s working right to me? I would expect to be able to change the Pending Reason without having to change the State first.

5 REPLIES 5

Check if there is a display business rule on the table that is filling the g_scratchpad_allVars

 

or modify the onload script to skip the pending reason variable

 

for(i = 0; i < allVars.length; i++){

if(allVars[i].toString() !== 'pending reason') ///check the names for accuracy

{

g_form.setReadOnly('variables.' + allVars[i], true);

}

}

Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Vinod Kumar Kachineni
Community Rising Star 2022