Date: 11/17/99
- Next message: Stephen Bolinger: "[PHPLIB] Trouble connecting PHPLIB to mySQL database"
- Previous message: Eric Mings: "Re: [PHPLIB] Integration with php4 sessions"
- Next in thread: Davor Cengija: "Re: [PHPLIB] oohforms: default CHECKED & radio"
- Reply: Davor Cengija: "Re: [PHPLIB] oohforms: default CHECKED & radio"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
How do I get one radio button in a group of radio buttons
to be checked?
I have:
...
$f->add_element(array("type"=>"radio","name"=>"myradio"));
...
$f->show_element("myradio", "yes");
$f->show_element("myradio", "no");
...
I would like to have the "'myradio', 'no'" element to
include CHECKED="true" by default. Is this possible?
Thank you,
Bob
__________________________________________________
FREE Email for ALL! Sign up at http://www.mail.com
-
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.
- Next message: Stephen Bolinger: "[PHPLIB] Trouble connecting PHPLIB to mySQL database"
- Previous message: Eric Mings: "Re: [PHPLIB] Integration with php4 sessions"
- Next in thread: Davor Cengija: "Re: [PHPLIB] oohforms: default CHECKED & radio"
- Reply: Davor Cengija: "Re: [PHPLIB] oohforms: default CHECKED & radio"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

