Since Cake's default Model validation really doesn't support files that well, we have to build the methods our self. Right now I will be showing you how to validate an images dimensions. The method will either check the width, the height or both width and height. Continue reading...
Forum
The Forum is a CakePHP plugin based on the popular bulletin board system. Bundled with all basic features, simply drop into your application.
Entries for Validation
When a form is submitted in CakePHP, any errors that fail the model validation are displayed after each respective input field. But if you're like me and really dislike that structure and output, and would rather have your errors displayed in a list above the form, then this is how you do it. Continue reading...
Popular Entries
Topics
- CakePHP (60)
- Code (19)
- Entertainment (2)
- Gaming (4)
- HTML & CSS (1)
- Javascript (6)
- jQuery (7)
- MySQL (1)
- Other (11)
- Personal (15)
- PHP (24)
- Plugins (5)
- Programming (9)
- Resources (13)
- Reviews (1)
- Tutorials (46)