Created
April 29, 2015 14:59
-
-
Save dmregister/5966aa6692af931a1d4b to your computer and use it in GitHub Desktop.
validator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$inputFilter->add($factory->createInput(array( | |
'name' => 'cenLat', | |
'required' => true, | |
'validators' => array( | |
array( | |
'name' => 'NotEmpty', | |
'options' => array( | |
'messages' => 'YOUR CUSTOM ERROR MESSAGE', | |
'type' => array('integer', 'float'), | |
) | |
) | |
) | |
))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment