Incident Category field cannot be set read only in an onLoad client script without having it inside a setTimeout() functionDescriptionIncident Category field cannot be set read only in an onLoad client script without having it inside a setTimeout() functionSteps to Reproduce 1. Create a client script with the following code:function onLoad() {g_form.setReadonly('category', true);/* UNCOMMENT THESE LINESvar setTimer = '';setTimer = setTimeout(setTimerDelay, ''); //set the delay for setReadOnly to work, it's the only way currentlyfunction setTimerDelay() {g_form.setReadonly('category', true);}*/}2. Navigate to incident.do and notice that the category does not become readonly during onLoad.3. If you comment the second line and uncomment the lines on the multi-line comment, then the category field seems to become read-onlyI have tested this in Paris, Quebec, Rome and San Diego and the behaviour seems to be consistent.WorkaroundIn an onload Client Script, for an affected field, put the g_form.setReadOnly API call in a timeout. e.g., setTimeout(function() { g_form.setReadonly('category', true); }, 0);Related Problem: PRB1586844