Anything like error_messages_for in CL

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.


do you want to show errors individually?

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

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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.