Re: QuickForm, radio fields and ITStatic

From: Date: Thu, 17 Apr 2003 14:54:29 +0000
Subject: Re: QuickForm, radio fields and ITStatic
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-4916@lists.php.net to get a copy of this message
<bmansion@mamasam.com> wrote : > <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. Actually, I forgot to say that you can use ITStatic if your form changes on runtime but you will need to take care of your placeholders name and use blocks, along with the "remove untouched block" option of ITX/Sigma, around the placeholders you don't need. > Bertrand Mansion > Mamasam

« previous php.pear.general (#4916) next »