HTML_QuickForm2_Renderer_Array: Element IDs as array key?
| From: | Christian Weiske | Date: | Mon, 03 May 2010 18:56:57 +0000 |
| Subject: | HTML_QuickForm2_Renderer_Array: Element IDs as array key? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-30487@lists.php.net to get a copy of this message | ||
Hello Alexey,
I am trying to use HTML_QuickForm2_Renderer_Array to build form with a
pretty customized layout. Now I wanted to put the element html in the
template but failed a bit because the elements array is indexed with
numbers - but in my template, I don't want to iterate over the elements
array to look for the one with the correct ID.
Why did you use a number as key and not the element ID?
--
Regards/Mit freundlichen Grüßen
Christian Weiske
-=≡ Geeking around in the name of science since 1982 ≡=-
Attachment: [application/pgp-signature] signature.asc
Attachment: [application/pgp-signature] signature.asc