How can I change field restriction? - Answers - Salesforce Trailblazer Community
Trailblazer Community
Ask Search:
Elle-Mae CharlesworthElle-Mae Charlesworth 

How can I change field restriction?

Hi,

How can I stop users changing certain fields on a record but they may still need access to others so I need the edit button still available.

Thank you
Best Answer chosen by Elle-Mae Charlesworth
Guy KeshetGuy Keshet
2 options:
1. change the page layout and make some fields read only
2. create a validaiton rule to determine who can change the valiue of a field

option 1 has a better UI as it prevents changes in the first place
option 2 is suitable if you have complex rules about who can change data, when can they change data etc

All Answers

Guy KeshetGuy Keshet
2 options:
1. change the page layout and make some fields read only
2. create a validaiton rule to determine who can change the valiue of a field

option 1 has a better UI as it prevents changes in the first place
option 2 is suitable if you have complex rules about who can change data, when can they change data etc
This was selected as the best answer
Eric PraudEric Praud
Hi,

You can give users a read only access to fields through field level security. Go to their profile, find the object, then edit.
Check only the Read only checkbox to the fields you don't want them to edit and save
Elle-Mae CharlesworthElle-Mae Charlesworth
Thank you, I did try a validation rule but wasn't sure how to word it.
Elle-Mae CharlesworthElle-Mae Charlesworth
I have figured out how to word the validation rule. Thank you all for your help.