Answer by Mitchell McKenna for How do you exit execution of a codeigniter program?
September 13 2010, 8:24pm
How stop execution of codeigniter: die(); or exit();
But, I don't think that's really what you want to do. What you want to do is to load a different view to show an error page if the validation fails.