For any application, validation of user input is very important job. By doing so we make sure that the data in a model conforms to the business rules defined for the application. Simple examples for such validation rules can be email, alphanumeric, min-max value etc.
In this tutorial we're going to learn
how to validate the ajax call in CakePHP. This post assumes that you know the basics of model validation rules.If not then i would suggest you to follow our
Cakephp Tutorial Series to make the concept clear.