Hi,

I have a problem with Zend_Form and I am not sure if this is a bug. The
problem is:

I have two Zend_Form objects. The second one is extending the first one. The
first form has a couple of elements and display groups.

In the second form I am creating a new Zend_Form_Element. If I add this
element to the second form, fetch the display group (created in the first
form), and add the element to the display groups as well I get two elements.
One located in the display group and another at the end of the form.

If I only add the element to the display group the element is not validated
(I am adding a Zend_Form_Element_Captcha).

If I only add the element to the second form it is of course rendered at the
end, but I want to render it inside one of the display groups.

Is this a bug, or am I missing something?

Regards,

Goran Juric
http://gogs.info/
-- 
View this message in context: 
http://www.nabble.com/Problems-with-displayGroups-%28extending-Zend_Form%29-tp23540377p23540377.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to