Re: [PHPLIB] Radio buttons & label/value From: Gary Smith (gary <email protected>)
Date: 12/15/99

Hi Aaron,

The label goes outside the input tag.
<input type="radio" name="whatever" value="and"> All Words

Gary

At 7:01 PM -0800 12/14/99, Aaron Turner wrote:
>I've been rocking my head and the list archives trying to figure out how
>to create a group of radio buttons that have a different label from their
>value. As far as I can tell, all I can do is:
>
>$f->add_element(array("type" => "radio", "name" => "whatever" ) );
>$f->show_element("whatever", "and");
>$f->show_element("whatever", "or");
>$f->show_element("whatever", "boolean");
>
>but if I want:
>
><input type="radio" name="whatever" value="and" name="All Words">
>
>I'm hosed. Is there any hope?
>
>--
>Aaron Turner, Core Developer http://vodka.linuxkb.org/~aturner/
>Linux Knowledge Base Organization http://linuxkb.org/
>Because world domination requires quality open documentation.
>aka: aturner <email protected>, aturner <email protected>, ion_beam_head <email protected>
>
>-
>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.

 G R A P H I C C O M M U N I C A T I O N I N C.
 Gary T. Smith - gary <email protected>
 http://www.graph.com/
 ph. 808.742.7992 fax 808.742.8992
 _________________________________________
 "Pack your bags honey. We're going to Hawaii!"
 http://www.aloha-hawaii.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.