You need to sign in to do that
Don't have an account?
Renu69
where can Validation rule be given
Validation rule for a field in a standard object can be given through triggers/objects validation rule/ controllers.
is there any other way to do validation.
You can make the field required...that's a type of data validation in that the field must have a value before the record is saved.
Why do you need another validation method? I think the ones you mention pretty much cover everything.
Following means can be used to have a field level validation in SFDC:
1. Page layout (make a field required, however this will not be conditional)
2. Write a validation rule (this will fire based upon a condition i.e. will apply if the record meets a pre-defined criteria)
3. Use Apex logic to enforce validation on a field
Hope this helps!