Disable the form error message


I have a little problem with my form, I used personal message of success and error with the Flash object. But when the form is not correctly completed, I also have the message from cakephp : “The provided value is invalid” And I would like to know how to disable it.

Thank by advance !

What Controller code?

I think it will be wise to check the error and set a proper message for it instead of hidding… because the user will never knows what is wrong with the form if not submiting.