1CGI.radio(3kaya) Kaya module reference CGI.radio(3kaya)
2
3
4
6 CGI::radio - Make a radio button.
7
9 HTML radio( String name, String val, Bool set=false, String id="",
10 String extra="" )
11
13 name The name of the radio button. Only one radio button with a given
14 name may be selected at once
15
16 val The value of the radio button.
17
18 set If this is true, the radio button will start checked. Browser be‐
19 haviour is undefined unless exactly one radio button out of each set
20 begins checked.
21
23 Returns the HTML for a radio button. Note that neither the name nor the
24 value parameter is escaped by this function, so you must ensure that
25 neither contains a '"' character yourself.
26
28 Kaya standard library by Edwin Brady, Chris Morris and others
29 (kaya@kayalang.org). For further information see http://kayalang.org/
30
32 The Kaya standard library is free software; you can redistribute it
33 and/or modify it under the terms of the GNU Lesser General Public
34 License (version 2.1 or any later version) as published by the Free
35 Software Foundation.
36
37
38
39Kaya December 2010 CGI.radio(3kaya)