+ Start a Discussion
U JayU Jay 

Why salesforce custom error not apper with standared error on insertion in salesfore

I have a set of input fields with field level mandatory condition. And an inputText with a null check. If i miss more than one input field, show all the error messages together. If fail inputText only, shows error properly. But if i miss inputText and inputFields, Can see only errormessages for inputfields only. :(
What is the reason ? Any solution? Thanks in advancce :)
AshlekhAshlekh
Hi,

You can control this buy your controller, you have to difine or design according to that. Input field are checked when your controller sumit the request to database and input text are validating in your controller.

You have to throw the error for input text first, if user has filled all input text field  then process the record for dml.

-thanks