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
MG ConsultingMG Consulting 

Message Component Examples?

Hi,

 

I can't seem to figure out where one would use the message component. Error message display is built into the inputField component so no need for it there.

 

The only place I can possibly see it being used is in conjunction with the other input components such as inputText. But, the only message it seems it can display in those cases is the required field message that uses the long, user unfriendly id of the inputText component. This makes this message kind of useless, so in the past I've baked my own required validation for these components using global error messages.

 

I can't help but get the feeling I'm missing something here.

 

Could someone please shed some light on this for me and provide some valid usages of the message component?

 

Thanks a lot,

Mike