people.. My problem is:
I have a form, with a Collection, so, I setted a CollectionInputFilter to this Collection..
If i send two block of fields (collections) to validate, and one field of one of this block is validated, the same field in the another one block is automatically validated too, even if is wrong or not filled.. I don't know what to do.. I tried a lot of tips.. but, none worked..
Someone can help me? Or faced the same problem?
Here my code:
class ClienteEnderecoFilter extends CollectionInputFilter
{
public function __construct()
{
$this->add(array(
'name' => 'fieldOne',
'required' => true,
));
}
}
If i send two fieldOne and one is filled, the another one is validated too!