CodeIgniter Forums

Full Version: Anything like error_messages_for in CL
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

In Rails there is this error_messages_for method - is there anything like that in CL. I have looked over the things in User Gudie >Form Validation.

I guess I could I build something like that - but I'm not sure how to extend Form Validation to work like error_messages_for in Rails.

Any help or suggestion would be appreciated.


El Forum

do you want to show errors individually?

you can use $this->validation->{field}_error;

read more about it here: under Showing Errors Individually section.