CGI.radio.3kaya

Langue: en

Version: March 2009 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

CGI::radio - Make a radio button.

SYNOPSIS

HTML radio( String name, String val, Bool set=false, String id="", String extra="" )

ARGUMENTS

name The name of the radio button. Only one radio button with a given name may be selected at once

val The value of the radio button.

set If this is true, the radio button will start checked. Browser behaviour is undefined unless exactly one radio button out of each set begins checked.

DESCRIPTION

Returns the HTML for a radio button. Note that neither the name nor the value parameter is escaped by this function, so you must ensure that neither contains a '"' character yourself.

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.