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
A.ZaykovA.Zaykov 

lightning:recordEditForm validation rules

Hi,

When using <lightning:recordEditForm>, validation rules do not kick in.

Is this a general issue?

Thanks.
Angel
Matthew ChevalierMatthew Chevalier

I am encountering the exact same issue.

We have a Quantity__c field on an object with a validation rule that prevents the value from being less than 1.

I was able to write a record with a lightning:recordEditForm with a quantity of 0 and the validation rule never influenced the process.