Is there a way to deactivate an input field when a form is loaded by a particular user role? For example, I have a ‘Reviewer Comments’ input field that I would like to disable when the form is created/updated by an Author role. However, when a Reviewer loads the form, I would like the field to be editable.
Also, is there any scripting documentation I can refer to? Thank you!