Welcome Guest, Not a member yet? Register   Sign In
Custom Error Messages

So, I've got a form, which gets some data to my controller, which then fetches some more data from the database, through the model. But what if the model comes up short? Turns out the ID the user put in the form isn't right, so the model can't fetch the info form the db.

I'd like to be able to push an error message back to the form via the validation_errors() function. Is this possible?


Theme © iAndrew 2016 - Forum software by © MyBB