You need to sign in to do that
Don't have an account?
GoForceGo
Validations in VisualForce
Is there any way to handle validation errors in VisualForce?
As an example, I define a field in a object with some standard salesforce validations rule (e.g a number must be between 0 and 9).
I am putting a table of these objects.
Currently, if I type 11 in the field, I get a cryptic visualforce error, not a standard salesforce error which will show me the exact location of the error (row and column)
As an example, I define a field in a object with some standard salesforce validations rule (e.g a number must be between 0 and 9).
I am putting a table of these objects.
Currently, if I type 11 in the field, I get a cryptic visualforce error, not a standard salesforce error which will show me the exact location of the error (row and column)
Anyone, on how to write graceful error messages on custom controllers?
Jill
As you can imagine, this adds to development efforts and makes the page more difficult to maintain. Plus at the moment any fields marked as required get validated first and my custom validation only gets called after required fields are provided. This type of 2 stage validation does not provide a good user experience.
So I'm very interested in anything that will improve this. Has a date been set yet for the next release?
Bump
I have read through the release notes for Summer 08 and cannot see anything about changes to validation rules. Am I missing something? Its a big document (101 pp) so I searched for "validation". If its in there somewhere else please can you give me a page reference.
Jill