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
JasonGablerJasonGabler 

All Custom Validations stopped working, all at once.

I have about 40 custom validations on one form, and at least as many standard validations (e.g. required, etc).  I have finished all of it, and then went to test, from scratch, and all of my custom validations did not fire.  I'm trying to think if there was some switch I inadvertently toggle....  any ideas?

 

thanks,

 

jason 

Best Answer chosen by Admin (Salesforce Developers) 
JasonGablerJasonGabler

... this is because all standard validations must be resolved before custom validations will fire.  I filled in all of the standard-ly validated fields and then the custom ones (one by one, ugh) would show up.

 

I'd love to know the reasoning behind this.