Disable entire form

Hello,

I have a form called Notices with several fields and also a master/detail field.
I’d like the entire form and the detail form to be in read-only mode once the Notice is marked as closed using the noticeClosed field.

I’ve tried several options, such as sc_field_disabled or some JavaScript instructions, but I can’t get the detail form to be in read-only mode.

Any ideas on how to do this?

Hi
use sc_field_disabled in the main form and a [globar_var] in the detail to know when you need to apply sc_field_disable in their fields
regards.