You're right, I switched over to your method and now all of my fields appear in the form values. I just searched the issue tracker and found the bug that relates to this. It's marked as "postponed" so I guess we are stuck with tearing down/rebuilding the display group until it gets resolved.
http://framework.zend.com/issues/browse/ZF-3496 <http://framework.zend.com/issues/browse/ZF-3496>Thanks for your help, Colin. :) -- Hector Sent from Temecula, California, United States On Thu, Jul 30, 2009 at 2:55 PM, Colin Guthrie <gm...@colin.guthr.ie> wrote: > 'Twas brillig, and Hector Virgen at 30/07/09 22:46 did gyre and gimble: > >> It seems that my approach is bugged and I'm not sure why. >> >> The form renders properly, but when submitted only the elements explicitly >> added with Zend_Form::addElement() appear when I var_dump >> $form->getValues(). All of the elements added through >> Zend_Form_DisplayGroup::addElement() do not show up in the values, but they >> are rendered on the page. >> >> Any ideas what might be going on? >> > > Ahh it's all coming back to me! Yes, I went through that exact same > pain/head scratching too. > > My method (albeit cumbersome) works around this issue too! > > Col > > > -- > > Colin Guthrie > gmane(at)colin.guthr.ie > http://colin.guthr.ie/ > > Day Job: > Tribalogic Limited [http://www.tribalogic.net/] > Open Source: > Mandriva Linux Contributor [http://www.mandriva.com/] > PulseAudio Hacker [http://www.pulseaudio.org/] > Trac Hacker [http://trac.edgewall.org/] > >