function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Somasundaram S 1Somasundaram S 1 

validation rule for acc

Hi All
         Could you please suggest me how to make a validation rule (want to do using validation rule only)in a custom field in account object
 if the field(text field) is empty, the user can change. Once entered or if provided by the data file, user needs to go to administrator to change
Ashwani PradhanAshwani Pradhan
You can use this (replace field with your field name)-
NOT(ISBLANK(PRIORVALUE( field__c)))

Thanks,
Ashwani
Somasundaram S 1Somasundaram S 1
Ashwani
             this will check if the field has value but it wont solve my requirement 
VineetKumarVineetKumar
NOT(ISBLANK(PRIORVALUE(VKSS__Hello__c))) && NOT($Profile.Name == 'System Administrator')