You need to sign in to do that
Don't have an account?
ipsita19861.2880751705180098E1
adding validation rules
how can i display the errors on my page using validation rules for an object.
can someone help me with this.
Thanx
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
how can i display the errors on my page using validation rules for an object.
can someone help me with this.
Thanx
Just add <apex:pagemessages> Component in the VF page. it will automatically shows error message on page whenever Validation rules return true.
1. You can validate the record through javascript.
2. In apex You can use ApexPages.Message class and use the <apex:pagemessages> in visual force page.
3. If you are using the standard controller and inputfield component then you can override the salesforce error classes.
Hi Pradeep,
Can u plz explain how can w override error class?