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

Validating Fields on Contact based on values in another object (Event)

I have 2 custom fields on the Contact object whose values must be changed from the default value after a call is entered in the Event table.  I am trying to determine the best way to accomplish this.  I want it to flag the fields in error the next time the Contact is entered.  Is it better to add a call flag to the Contact table that gets set once a call is entered?  Is there a way to  develop code to count the calls when the Contact screen is entered - if the count is greater than 0, flag the field in error?   I have not done anything too complicated yet, so any direction would be appreciated.