TutorialsRoom.com, Where knowledge lands
RSS Feed

Subscribe: RSS or e-mail

Tutorials Written By www.milesj.me

Displaying Form Errors As a List in Cakephp

Displaying Form Errors As a List in Cakephp Tutorial
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 (an example would be my contact form), then this is how you would achieve it.
www.milesj.me | Web Development Tutorials » PHP | January 17th, 2009
Rating: 2.9/5 (8 votes)
Copyright © 2007-2012 Hazem Osman. All rights reserved. Terms & Conditions