'gr.company' will give us actual company name. I don't think that's correct, because we should provide a field name here, not the actual value. Is that right?

g_form.setReadOnly('fieldName', true);

 

but besides all: wow, great to know it's possible. These callbacks and dot-walking, nice! thanks. I'm new to servicenow and js 🙂

edit: I tried that anyway but still can't make it readOnly... 😞