Do you have a stack trace for the exception? What you pasted is not enough to find out where the mistake is...
Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On Sun, Sep 8, 2013 at 8:48 PM, foysal [via Zend Framework Community] < [email protected]> wrote: > Yes, you are right. I removed that. It is still showing same error > message. Below is the view code. > > $form = $this->form; > $form->setAttribute('action',$this->url('test',array('action' > =>'add'))); > $form->prepare(); > > echo $this->form()->openTag($form); > echo $this->formRow($form->get('username')); > echo $this->FormElementErrors($form->get('username')); > echo $this->formRow($form->get('password')); > echo $this->formSubmit($form->get('submit')); > echo $this->form()->closeTag(); > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://zend-framework-community.634137.n4.nabble.com/ZF2-Form-Validation-tp4660924p4660928.html > To start a new topic under Zend Framework, email > [email protected] > To unsubscribe from Zend Framework Community, click > here<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=634137&code=b2NyYW1pdXNAZ21haWwuY29tfDYzNDEzN3wxNzE0OTI1MTk4> > . > NAML<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/ZF2-Form-Validation-tp4660924p4660929.html Sent from the Zend Framework mailing list archive at Nabble.com.
