I have written a validation rule, which checks whether a certain picklist has a certain value. The reason for this is, when someone changes the record type of account, then the picklist has different values that are allowed for that record type, however we need a validation rule, because the user can save with an invalid value otherwise.
I have written the following, however nothing happens:
AND( $Profile.Name <> 'Admin', RecordType.DeveloperName = "New Accounts", NOT(ISPICKVAL(Stages__c ,"Stage 3")) )
Basically what I want to say here is that if the record type name is New Accounts, then fire the validation rule if stages is NOT set to Stage 3.