[symfony-users] Re: Question about choice widget

2010-05-13 Thread Javier Garcia
Thanks Tom. Anyway, I want to add this link below to the links that you gave in your first post: http://www.thatsquality.com/articles/7-days-of-symfony-1-1-forms-widgets-and-validators-day7 I find it interesting about formatting forms. Javi On May 12, 11:38 am, Tom Ptacnik to...@tomor.cz

[symfony-users] Re: Question about choice widget

2010-05-12 Thread Tom Ptacnik
What about something like ul.radio_list li {display: inline} On 10 kvě, 15:41, Javier Garcia tirengar...@gmail.com wrote: On Mar 29, 3:09 pm, Massimiliano Arione garak...@gmail.com wrote: You jsut need to customize your css, forcing your li's as inline. No need to modify your template or

[symfony-users] Re: Question about choice widget

2010-05-10 Thread Javier Garcia
On Mar 29, 3:09 pm, Massimiliano Arione garak...@gmail.com wrote: You jsut need to customize your css, forcing your li's as inline. No need to modify your template or your formatter. I'd like to force the li's as inline as you say, but the generated li's don't have the 'id' attribute defined.

[symfony-users] Re: Question about choice widget

2010-03-29 Thread Massimiliano Arione
You jsut need to customize your css, forcing your li's as inline. No need to modify your template or your formatter. cheers Massimiliano On 25 Mar, 20:03, Javier Garcia tirengar...@gmail.com wrote: Hi, i have an edit form with a choice widget with radio buttons. Symfony renders the options

[symfony-users] Re: Question about choice widget

2010-03-28 Thread tayhimself
Why not use jquery and onclick and show/hide the two different li On Mar 25, 2:08 pm, Javier Garcia tirengar...@gmail.com wrote: Well, what i mean is, if the genre stored of a member is male, it should be active in Chico, so how can i do it? using if's and functions that retrieve the genre of

[symfony-users] Re: Question about choice widget

2010-03-26 Thread Tom Ptacnik
Maybe you can look for decorator(formatter), with that you can still use ?php echo $form['sexo']? it's decorator or formatter, I'm not sure for now ;) There is some official tutorial on Symfony pages, but I can't find it now Try this adresses or google

[symfony-users] Re: Question about choice widget

2010-03-25 Thread Javier Garcia
Well, what i mean is, if the genre stored of a member is male, it should be active in Chico, so how can i do it? using if's and functions that retrieve the genre of the member to set the radio button state ? Javi On Mar 25, 7:03 pm, Javier Garcia tirengar...@gmail.com wrote: Hi, i have an