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