Spoon/Form — Issue #9: addValidation has no validation
Author: bauffman
Created: 2012-02-14 16:46:18+00:00
State: open

When I do something like
$frm->addEmail('email')->addValidation('foobar', null, 'foutmelding...');

There's no check to see if this validator actually exists. So I won't get an exception until I actually call
$frm->isValid.

I think it might be a good idea to get feedback immediately about this validator not being present.