Welcome Guest, Not a member yet? Register   Sign In
Generic message for form validation
#3

[eluser]garymardell[/eluser]
Well you could just use a standard view variable.

So say if your passing $data array to your view have

Code:
$data['error'] = "There appears to be a problem with your submission please see errors below"

Then in your view have

Code:
if(!empty($error))
{
echo $error;
}

Or something similar.


Messages In This Thread
Generic message for form validation - by El Forum - 07-12-2008, 06:41 AM
Generic message for form validation - by El Forum - 07-12-2008, 06:49 AM
Generic message for form validation - by El Forum - 07-12-2008, 06:49 AM
Generic message for form validation - by El Forum - 07-12-2008, 07:01 AM
Generic message for form validation - by El Forum - 07-15-2008, 06:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB