codeigniter-message icon indicating copy to clipboard operation
codeigniter-message copied to clipboard

Form validation errors to messages

Open joelcox opened this issue 14 years ago • 0 comments

When you call $this->message->display() after a failed form validation, a general error message could be set, followed by the specific errors for each field. This would mean you would only have to call $this->message->display() in your views/template, which handles both the messages set by $this->messages->set() as well as form validation messages and don't need to call validation_errors() anymore.

joelcox avatar Sep 01 '11 09:09 joelcox