Re: [PHPTAL] Radio Buttons & selection box

2008-06-30 Thread Kornel Lesiński
Dnia 29-06-2008 o 05:56:33 Levi Stanley <[EMAIL PROTECTED]> napisał(a): Or you can do it like the method below, however I was wondering if there is a better way than doing it like this? You could solve it like this: $phptal->best_times_to_call = array('Morning','Evening'); tal:content="opt" /

Re: [PHPTAL] Radio Buttons & selection box

2008-06-29 Thread Rafał Miłecki
2008/6/29, Levi Stanley <[EMAIL PROTECTED]>: > Was wondering if there was a better way to deal with radio buttons & > selection box in phptal. > > One way, is make an array, and pass it the choices to the template. > > Or you can do it like the method below, however I was wondering if there > i

Re: [PHPTAL] Radio Buttons & selection box

2008-06-29 Thread Werner
Hi Levi I'm posting an extract from one of my previous posts, I think it might give you an additional perspective to get out of the "tal:conditional" grip in your template code..? --- Begin Quote --- There are two ways that you can achieve the desired result: 1) The TAL-complaint way is to

[PHPTAL] Radio Buttons & selection box

2008-06-28 Thread Levi Stanley
Was wondering if there was a better way to deal with radio buttons & selection box in phptal. One way, is make an array, and pass it the choices to the template. Or you can do it like the method below, however I was wondering if there is a better way than doing it like this? Choose Time Morning