This would probably require a custom element. I've actually created a similar element for a project im working on that generates a subform for each 'row' that contains an number of zend_form_elements passed in to it via the constructor. It does however generate the names in the form "media[0]['image']" & "media[0]['video']" so the data comes out in rows. I have a feeling I read something by matthew where he mentions that zend forms shouldnt use the numeric array notation, but in this case I sort of felt it was the best way. Let me know if you wish to see the element and decorator and ill stick it up in pastebin somewhere. Thanks, Daniel.
________________________________ From: [email protected] [mailto:[email protected]] Sent: Monday, 20 April 2009 7:13 AM To: Nabble Zend Framework General Subject: [fw-general] Multidimensional MultiCheckbox Hi all, My apologies if you receive this message multiple times. But my messages don't seem to reach the list anymore. Hopefully through this route it will. My question is this: Is there any way to create a multidimensional MultiCheckbox which result in something like this: <input type="checkbox" name="media['image'][0]"> <input type="checkbox" name="media['image'][1]"> <input type="checkbox" name="media['video'][0]"> <input type="checkbox" name="media['video'][1]"> etc...? Thank you in advance. ________________________________ Haal meer uit je Hotmail met Internet Explorer 8. Download nu <http://www.microsoft.nl/ie8>
