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
nishad basha 7nishad basha 7 

How to display the custom error message using visualforce page

how to solve the above scenario please give any ideas.
Patcs_1Patcs_1
Hi Nishad

Hope the below links will help you.

http://salesforce.stackexchange.com/questions/11124/customize-standard-error-message-on-the-visualforce-page

http://www.sfdcpoint.com/salesforce/show-error-message-visualforce-page/

P.S - Please mark this as solution by selecting it as best answer if this solves your problem.

Thanks
ManojjenaManojjena
Hi Nishad ,

If you want to add custom message in vf page directly then add below component and modify the message and you can render with your condition .
<apex:pageMessage summary="Your custom message what you want to display ." severity="info" strength="3" />
you can chnage severity according to your need . 

For more information  you please check below link .

http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageMessage.htm   


Thnaks 
Manoj
 
doravmondoravmon
just use a alert(error)