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
AnjaanAnjaan 

How to show messages with inputText

Hello All,

How to show error messages when using <apex:inputText>.

Thanks in Advance
Osman
iceberg4uiceberg4u
the inputtext has a getter and a setter in the controller right!!!

So the getter should pass the value to the page and if you want to make it read-only just have the attribute disabled="true" in the apex:inputtext.

but if the value is just a readonly y not use output:text