I have to do something like this :

For each profile, except system admins, on the inactive accounts (statut__c = 'inactive') we should not be able to edit every fields (so I need to make them read only here) except one, Statut__c, to give it only the value 'prospect'. And when the account statut__c = 'prospect' then all the field became editable.

I don't know how I can do that.

  • 2
    Easiest option would be to use a validation rule which would not allow users to change any field, in the rule you could include profile ids for admins or special users so as to for them to edit. – Raul Jun 24 at 9:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.