Lock a field after approval

Hi all,
in a custom module, I have an approval dropdownlist. Now, I would like that when its value is 1 (ie approved), the user can no longer modify the filed “myfield”, which remains read-only.

Is there any way to get this?

Thank you so much for any possible suggestions.

Hi,
you could use a solution like this:

instead of the calculation, your listener would disable the desired field.

1 Like

Thanks, that’s a good idea. I’ll try! But, one more question: can this be set to editview, could it also be called for listview where “inline edit” is enabled?