+ Start a Discussion
Project2Project2 

Validation rule when a record is in edit mode?

Hi,

 

I want to write a validation which will be active only when a record is being edit - but not active/triggered when record is being created. How can I achieve this?

 

Thanks for you help.

Best Answer chosen by Admin (Salesforce Developers) 
aalbertaalbert

The validation rule will initiate when the record is saved. If the rule evalutes to true, the save is prevented and the user stays on the edit screen (the record is not created).