Welcome Guest, Not a member yet? Register   Sign In
How to show validation errors with DMZ
#4

[eluser]bonatoc[/eluser]
I found the way, and it's pretty simple.

For those of you interested :

Code:
$company->from_array($_POST);
$company->validate();

if ($company->valid)
{
echo("yeah!<br>");
}
else
{
echo("boo!<br>");
}

...as posted here (2nd post) :
http://ellislab.com/forums/viewthread/162347/


Messages In This Thread
How to show validation errors with DMZ - by El Forum - 10-25-2009, 08:42 AM
How to show validation errors with DMZ - by El Forum - 10-25-2009, 09:44 AM
How to show validation errors with DMZ - by El Forum - 09-07-2010, 03:51 PM
How to show validation errors with DMZ - by El Forum - 09-07-2010, 04:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB