In the code below I have added the EmailAddress validator. In the case of
this validator and the others, where can I find out what options I am able
to pass to them?
For example 'validators' => array(array('EmailAddress', false, array('WHAT
OPTIONS CAN I PUT HERE?))),
$this->addElement('text', 'email', array(
'decorators' => $this->_defaultDecorators,
'label' => 'Email Address',
'required' => true,
'validators' => array(array('EmailAddress', false,
array())),
'filters' => array('StringToLower'),
'class' => 'text'
));
In this case I am interested in setting the invalid message for the
emailaddress validator, but I think I can figure that out myself once I know
how to determine exactly what options are available to be passed in the
example above.
So generally speaking about validators added in this context, how do I know
what options are available to be set?
Thanks a lot.