Welcome Guest, Not a member yet? Register   Sign In
Anything like error_messages_for in CL
#1

[eluser]bnewton[/eluser]
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.

Thanks,
bnewton
#2

[eluser]Ryuuzaki92[/eluser]
do you want to show errors individually?

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

read more about it here: http://ellislab.com/codeigniter/user-gui...ation.html under Showing Errors Individually section.




Theme © iAndrew 2016 - Forum software by © MyBB