Re: [PHPLIB] Need oohforms pointers From: Massimiliano Masserelli (negro <email protected>)
Date: 11/12/99

On Fri, Nov 12, 1999 at 11:23:58AM -0500, Alec Effrat wrote:

> You need to use the checked option.
>
> (I haven't tested this so let me know if it worked right for you.)
> eg.
> $f->add_element(array("type"=>"checkbox",
> "name"=>"compress",
> "checked"=>$compress,
> "multiple"=>1));

Nope: the checked option is useful if you want the button pressed BY DEFAULT.

Bye.

--
     Massimiliano Masserelli       |     URL:    http://www.interim.it/
     Internet Images S.r.l.        |     Tel:    +39-051-3390671
     vicolo Viazzolo, 3            |     Fax:    +39-051-557890
     40124 - Bologna - Italy       |
-------------------------------------------------------------------------------
Motto dei Manutentori:
        Se non puoi aggiustarlo, non e' rotto.
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.