Activity Forums Salesforce® Discussions Validation rule error when existing record is edited

  • Gourav

    Member
    April 28, 2016 at 1:03 pm

    If you are creating a validation rule on contact then use this in Error condition Formula LastName = 'ok'  and provide some error message to show. it will validation rule check the condition on both time when use create the record or edit any record.

  • Sudhir

    Member
    June 17, 2017 at 4:45 am

    This should wok for you. Taking Contact object as a reference..

    AND(NOT(ISNEW()), FirstName == 'ok')

  • shariq

    Member
    July 4, 2017 at 10:13 pm

    Hi Satyakam,

    You can try this validation rule:-

    AND(ISCHANGED( FirstName ) , FirstName =='ok')

    Hope this helps.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos