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
BPeddleBPeddle 

Error Message Inline or Not

On some of our pages error messages are inline and appear right below an input box.  On other pages it seems to ignore that and just appear at the top.

 

Trying to figure out what causes the inconsistency on this?

Best Answer chosen by Admin (Salesforce Developers) 
mtbclimbermtbclimber
The answer is dependent on what components you use and how your validation rules are defined. The inputField component will present the field-level error if your validation rule is configured as such.   Other input components do not automatically display the message at the field level like inputField.  The same applies for validations defined in apex.