Snortblog

March 27, 2006

HTML_QuickForm, setElementTemplate() for default renderer

Filed under: Doing — snort @ 4:56 pm

If you’re using the default renderer in HTML_QuickForm and need to make some elements look different then others, you can specify an element id to selectively set the element template, e.g.

$renderer->setElementTemplate( "*
${element}
“,  ‘elementName’); 

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress