Smarty Renderer with HTML_Quickform
| From: | Ian P. Christian | Date: | Wed, 01 Sep 2004 10:26:11 +0000 |
| Subject: | Smarty Renderer with HTML_Quickform | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-14366@lists.php.net to get a copy of this message | ||
I'm trying to use the Smarty renderer with HTML_QF.
I'm trying to render the form dynamically, not statically.
Using the Array() renderer, I had everything working, except it's not possible
to extract the name of a heading, which I need as I require each heading to
have it's own 'id' attribute for CSS reasons.
Moving over to ArraySmarty renderer, it appears the name of the heading is
presented, but the output of this array appears to be designed for use with
static renderers, and it doesn't look like there is a simple way of using
smarty to dynamically build a form from this output.
Can anyone suggest anything that might help me? I'm not overly attached to
smarty, will consider other renderers.
Kind Regards,
Ian
http://www.pookey.co.uk
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]