1HTMLDocument.addLabelledInput(K3akyaayam)odule reHfTeMrLeDnocceument.addLabelledInput(3kaya)
2
3
4
6 HTMLDocument::addLabelledInput - Adds a labelled text input
7
9 ElementTree addLabelledInput( ElementTree parent, String labeltext,
10 TextInputType itype, String iname, String ivalue=createString(0), Int
11 isize=0 )
12
14 parent The parent element
15
16 labeltext The text of the label
17
18 itype The type of text input to add
19
20 iname The name of the input. Remember that names starting with "kaya_"
21 may be used by the Kaya standard library and should not be used
22 directly by applications.
23
24 ivalue The initial value of the input. For text and password fields,
25 this may be changed by the user in their web browser (someone attacking
26 your application may of course change any value, regardless of the
27 input type). This value is generally ignored by web browsers for file
28 upload inputs. This value is optional, and defaults to the empty
29 String.
30
31 isize Optionally, the display size of the input element. Browser rules
32 for determining this size vary - it is an approximate number of characā
33 ters, but only approximate. Obviously browsers ignore this field for
34 hidden fields and checkbox and radio inputs, and usually for file
35 upload inputs too.
36
38 Adds a labelled text input to a form. Since the labelled input is
39 enclosed within a division, the parent element may be the form itself.
40 The parameters for this function are identical in use to the parameters
41 of HTMLDocument.addTextInput (3kaya) with the same name.
42
44 Kaya standard library by Edwin Brady, Chris Morris and others
45 (kaya@kayalang.org). For further information see http://kayalang.org/
46
48 The Kaya standard library is free software; you can redistribute it
49 and/or modify it under the terms of the GNU Lesser General Public
50 License (version 2.1 or any later version) as published by the Free
51 Software Foundation.
52
54 HTMLDocument.TextInputType (3kaya)
55 HTMLDocument.addFieldset (3kaya)
56 HTMLDocument.addLabelledSelect (3kaya)
57 HTMLDocument.addLabelledTextarea (3kaya)
58 HTMLDocument.addOption (3kaya)
59 HTMLDocument.addTextInput (3kaya)
60
61
62
63Kaya December 2H0T1M0LDocument.addLabelledInput(3kaya)