ServiceNow | Make all the variables read only in the RITM view

function onLoad() {
g_form.setVariablesReadOnly(true);
}