Hi All, 
I did a custom validator for a multicheckbox field that I use in two different 
forms, the 'registration' form and the 'account edit' form, 
it works perfectly in the 'account edit' form, but it seems to be never fired 
in the 'registration' form.
Both forms are pretty similar.

This is how I add the field ( and its validator ) to my form

$this->myMulticheckboxElement()->setAllowEmpty( false )
            ->setRegisterInArrayValidator( false )->addValidator( new 
My_Validate_MultiCheckboxRange( array( 'min' => 2 ) ) ),


The validator My_Validate_MultiCheckboxRange checks if the selected box are at 
least the number specified by the 'min' value.

Any explanation for this issue?

Thanks


Sergio Rinaudo




                                          

Reply via email to