Hi,
I would like to uncheck the value on the widget Checkbox.
I tested this on my class form but nothing:
public function configure()
{
if ($this->isNew())
{
$this->widgetSchema['is_disabled'] = new
sfWidgetFormInputCheckbox(array('value_attribute_value' => ''));
}
}
I tested another solution but nothing:
$this->widgetSchema['is_disabled']->setAttribute('checked', '');
Why. I don't understand ???
What's the best solution to uncheck this ?
Thank you for your help.
Bertrand
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en.