Enable / disable fields on form load by user role


#1

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!


#2

Hi, it is not possible yet. The only option I see is to make a validation with scripting to prevent that.


#3

Yes, that was my initial approach as well. Was hoping I had missed out on a more elegant way to go about this.


#4

Not yet, but after the workflow system that will land soon I will have more time for stuff like that.