-- tony stamp <[EMAIL PROTECTED]> wrote (on Monday, 13 October 2008, 04:49 PM -0700): > I am having two problems with the above code. First of all, it is throwing > an error when i use addFilter on the text element returned by > zend_form::createElement:
<snip> > "Fatal error: Uncaught exception 'Zend_Form_Element_Exception' with message > 'Method addFitler does not exist'" Check your spelling. ;) (hint: addFilter, not addFitler) > > So if i comment out the addFilter invocations, i do not get any exceptions, > yet the form is rendering without labels - the documentation says the > htmlTag and label helpers (as well as error and viewhelper) are applied by > default. Yet the above code returns the following markup: Check your code -- you never defined labels for the elements. If there are no labels, then no <label> markup will be created. -- Matthew Weier O'Phinney Software Architect | [EMAIL PROTECTED] Zend Framework | http://framework.zend.com/
