Active
Project:
Zend Framework
Version:
7.x-3.0-alpha1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2012 at 20:23 UTC
Updated:
12 Jul 2012 at 19:50 UTC
Hello,
I installed the module using drush. I am trying to create a simple Zend Form.
The following code generates a fatal error: Call to undefined method Zend\Form\Form::addElement()
$form = new Zend\Form\Form();
$form->addElement('text', 'username');
What am I doing wrong?
Comments
Comment #1
ryy705 commentedI am new to Drupal and ZF. Any assitance will be very helpful.