Re: QuickForm, radio fields and ITStatic
| From: | Bertrand Mansion | Date: | Thu, 17 Apr 2003 14:45:19 +0000 |
| Subject: | Re: QuickForm, radio fields and ITStatic | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4915@lists.php.net to get a copy of this message | ||
<carsten.bleek@gmx.de> wrote :
> hi,
>
> After playing with the new template feature, I have a question.
>
> Can I use the ITStatic to render radio fields? Or do I have to use the
> ITDynamic to do so?
It's possible to use the ITStatic renderer, you just need to call your
placeholders like this: {form_radio_0_html}, {form_radio_1_html}...
To help you choose between ITStatic and ITDynamic, I would say that if your
form has to adapt its layout on runtime (adding, removing elements), you'd
better use ITDynamic. If your form has a very complex layout and is not
going to change on runtime, you can use ITStatic.
Bertrand Mansion
Mamasam