$form->setWidget('pc_id', new sfWidgetFormInputHidden());


On Fri, Jan 8, 2010 at 2:45 PM, Stéphane <stephane.er...@gmail.com> wrote:

> Oops, there are hidden fields too, look this way.
>
>
>
> Before Printing, Think about Your Environmental Responsibility!
> Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
>
> On Fri, Jan 8, 2010 at 2:45 PM, Stéphane <stephane.er...@gmail.com> wrote:
>
>> No, you can use
>> $this->form->widgetSchema['pc_id']->setAttribute('style'=>'display: none');
>> I don't know if it is exactly that, but this is the idea.
>>
>>
>>
>> Before Printing, Think about Your Environmental Responsibility!
>> Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>>
>>
>> On Fri, Jan 8, 2010 at 2:22 PM, Mikael <mikael.kermorg...@gmail.com>wrote:
>>
>>>
>>> I must have made a mistake during my test : the right pc shows up by
>>> default in the dropdown list when creating a new interface.
>>>
>>> If I wanted to hide this dropdown list, would I have to create a
>>> specific template ?
>>>
>>> Regards,
>>>
>>> Mikael
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "symfony users" group.
>>> To post to this group, send email to symfony-us...@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/symfony-users?hl=en.
>>>
>>>
>>>
>>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
> --
nat...@nathan.gs : http://nathan.gs : http://twitter.com/nathan_gs
--
You received this message because you are subscribed to the Google Groups "symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.

Reply via email to