Closed googlle closed 9 years ago
Hello.
I tried to validate my form. In controller I use this code
if ($formUrl != $url) { $form->get('url')->setMessages(array('Link is wrong')); } if ($form->isValid()) { echo 'validate'; }
If I set "setMessages" - form is validate, but form must not be validate
You should open the issue on https://github.com/zendframework/zend-form/issues
Hello.
I tried to validate my form. In controller I use this code
If I set "setMessages" - form is validate, but form must not be validate