Welcome Guest, Not a member yet? Register   Sign In
using validation_errors() inside controller?
#1

[eluser]fivestringsurf[/eluser]
Hey folks,
How do i echo validation errors from a controller?

I'm using jquery to perform an ajaxian type call to the controller. all my values pass to and from with no problems.
where i am running into trouble is with echoing out the validation errors using validation_errors()

using echo validation_errors(); seems to work in a view but not a controller?
all i need to do is echo out my validation errors from the controller and i will have myself a nifty ajax form validation service using jquery and codeigniter.

any suggestions?


Messages In This Thread
using validation_errors() inside controller? - by El Forum - 11-22-2010, 11:54 AM
using validation_errors() inside controller? - by El Forum - 11-22-2010, 04:36 PM
using validation_errors() inside controller? - by El Forum - 11-30-2010, 01:33 PM
using validation_errors() inside controller? - by El Forum - 11-30-2010, 07:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB