[fw-general] Checkbox validation disappears

2009-10-21 Thread Anders Gunnarsson
What is the best way to validate that a checkbox is filled? (A Terms checkbox) I have not been able to add a regular validation. And if I simply look at the value and add the error myself $form->termsBox->addError('Required'); The error disappears when validationg the whole form $form->isVali

Re: [fw-general] Checkbox validation disappears

2009-10-21 Thread Daniel Latter
Normally a hidden value of the same name is used to make sure a value gets submitted, but I am sure ZF adds this for you.. 2009/10/21 Anders Gunnarsson > > What is the best way to validate that a checkbox is filled? (A Terms > checkbox) > > I have not been able to add a regular validation. >