Hi all, is there a possibility how to disable displaying error messages?
I have this code:
each time I submit form with empty field, it give me back right error but it shows this error always in the form like this:Code:$newpass2 = $this->addElement('password', 'noveheslo2', array( 'filters' => array('StringTrim'), 'validators' => array('Alnum'), 'required' => true, 'label'=> 'Nové heslo2:', 'id' => 'noveheslo2', )); $this->noveheslo2->removeDecorator('Errors');
<form>
Nové heslo: <ul><li>Value is required and can't be empty</li></ul>
<input type="password name="noveheslo2" />
</form>
How can I avoid this, and get my error, and display it to another part of my form?
Nové heslo2: