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->isValid($_POST)

regards
Anders

Reply via email to