CGI::radio(3) Make a radio button.


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


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.


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.


Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see


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.