Re: [QuickForm] Change look of freezed objects
| From: | Justin Patrin | Date: | Thu, 09 Dec 2004 21:47:00 +0000 |
| Subject: | Re: [QuickForm] Change look of freezed objects | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16152@lists.php.net to get a copy of this message | ||
On Thu, 9 Dec 2004 17:57:18 +0100, Mirco Blitz <webmaster@lindworm.de> wrote:
> Hello,
>
> sometime ago I Asked how to disable checkboxes inside a QF Form.
> You answered that I have to freeze them.
> Now I see the form field like this [] or [x].
> I want to have a disabled checkbox displayed.
>
> Is there a way of doing this. Change the Template or using another method to
> disable?
Perhaps...
$checkbox->setAttributes(array('disabled' => 'disabled'));
>
> Thank you very much
> Mirco
>
--
Justin Patrin