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

Validation Rule Formula Field

I must to define a validation rule, but it doesn’t work because the field that I compared with other one is a “formula field” and the value is incremented after the validation work.




The field “totalValue__c” is a formula field, and the value of this is the sum of all values inserted in other fields (ex. development, cousts, etc.). My rule defines in this field should be equals another field that user inserted the value manually.


How to make this rule work?


Thanks for the answers .


The requirement is for updating one field based on the value of other filed I guess.
In that case, what the validation rules will do . And for formula filed you have nothing much to do.
I hope you can use workflow to copy value from this field to other field.