Re: [symfony-users] Re: Disable checkbox without loosing value?

2010-04-12 Thread Stéphane
Hi, When I disable a widget in a form used in the edit action, I also disable the same widget in the form in the update action. Then no need to overload processForm or addind updateXColumn. Cheers Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre R

[symfony-users] Re: Disable checkbox without loosing value?

2010-04-12 Thread Tom Ptacnik
But it's a really usefull function and maybe it should be in the core. On 8 dub, 11:45, axel at wrote: > overwriting the doBind works for me but it's an ugly solution - other > frameworks use checkbox widgets with hidden fields to solve this > problem, would be nice for symfony too. > > anyway t

[symfony-users] Re: Disable checkbox without loosing value?

2010-04-09 Thread Tom Ptacnik
Then you probably have to create your own widget which does this. On 8 dub, 11:45, axel at wrote: > overwriting the doBind works for me but it's an ugly solution - other > frameworks use checkbox widgets with hidden fields to solve this > problem, would be nice for symfony too. > > anyway thx fo

[symfony-users] Re: Disable checkbox without loosing value?

2010-04-08 Thread axel at
overwriting the doBind works for me but it's an ugly solution - other frameworks use checkbox widgets with hidden fields to solve this problem, would be nice for symfony too. anyway thx for your solution On 7 Apr., 17:19, Gábor Fási wrote: > It gets overwritten because browsers do not send disa