I have a master form with one or more detail sections (child tabs). For a specific group of users (e.g., those with the PMO role), I want to:
Prevent editing of any fields in the master form (such as name, client, status, etc.)
Allow them to insert records normally into the detail section (e.g., a “Project - Event” tab)

let role_restrict = task.user_info.role_id;
if (task.user_info.role_id == role_restrict) {
item.name.read_only = true:
item.client.read_only = true;
item.status.read_only = true;
} else {
item.name.read_only = false:item.client.read_only = false;item.status.read_only = false;
}

--
You received this message because you are subscribed to the Google Groups "Jam.py Users Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jam-py+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jam-py/aacdc147-8efd-4690-90ee-b8ce2aa69849n%40googlegroups.com.