1 | <h1 name="[h1]" id="[h1]"><l10n>Form Editor</l10n></h1> |
---|
2 | <fieldset name="[fs_form]" id="[fs_form]"> |
---|
3 | <legend>Form</legend> |
---|
4 | <table> |
---|
5 | <tr> |
---|
6 | <th><label>Action:</label></th> |
---|
7 | <td><input type="text" size="25" name="[action]" id="[action]" /></td> |
---|
8 | |
---|
9 | <th><label>Method:</label></th> |
---|
10 | <td><select name="[method]" id="[method]"><option value="POST">POST</option><option value="GET">GET</option></select></td> |
---|
11 | </tr> |
---|
12 | </table> |
---|
13 | </fieldset> |
---|
14 | |
---|
15 | <fieldset name="[fs_text]" id="[fs_text]"> |
---|
16 | <legend>Text Field</legend> |
---|
17 | |
---|
18 | <table> |
---|
19 | <tr> |
---|
20 | <th>Name:</th> |
---|
21 | <td> |
---|
22 | <input type="text" name="[text_name]" id="[text_name]" size="25" /> |
---|
23 | </td> |
---|
24 | <th> </th> |
---|
25 | <td> </td> |
---|
26 | </tr> |
---|
27 | <tr> |
---|
28 | <th>Type:</th> |
---|
29 | <td> |
---|
30 | <select name="[text_type]" id="[text_type]"> |
---|
31 | <option value="text">normal text field</option> |
---|
32 | <option value="password">password</option> |
---|
33 | <option value="hidden">hidden field</option> |
---|
34 | </select> |
---|
35 | </td> |
---|
36 | <th>Initial Value:</th> |
---|
37 | <td> |
---|
38 | <input type="text" name="[text_value]" id="[text_value]" size="25" /> |
---|
39 | </td> |
---|
40 | </tr> |
---|
41 | <tr> |
---|
42 | <th>Width:</th> |
---|
43 | <td> |
---|
44 | <input type="text" name="[text_width]" id="[text_width]" size="5" /> |
---|
45 | <select name="[text_width_units]" id="[text_width_units]"> |
---|
46 | <option value="em">chars</option> |
---|
47 | <option value="px">px</option |
---|
48 | > |
---|
49 | <option value="%">%</option> |
---|
50 | </select> |
---|
51 | </td> |
---|
52 | <th>Max Length:</th> |
---|
53 | <td> |
---|
54 | <input type="text" name="[text_maxlength]" id="[text_maxlength]" size="5" /> |
---|
55 | </td> |
---|
56 | </tr> |
---|
57 | </table> |
---|
58 | </fieldset> |
---|
59 | |
---|
60 | <fieldset name="[fs_cbrd]" id="[fs_cbrd]"> |
---|
61 | <legend>Check Box/Radio Button</legend> |
---|
62 | <table> |
---|
63 | <tr> |
---|
64 | <th>Name:</th> |
---|
65 | <td> |
---|
66 | <input type="text" name="[cbrd_name]" id="[cbrd_name]" size="25" /> |
---|
67 | </td> |
---|
68 | <th>Value:</th> |
---|
69 | <td> |
---|
70 | <input type="text" name="[cbrd_value]" id="[cbrd_value]" size="25" /> |
---|
71 | </td> |
---|
72 | </tr> |
---|
73 | <tr> |
---|
74 | <th>Type:</th> |
---|
75 | <td> |
---|
76 | <select name="[cbrd_type]" id="[cbrd_type]"> |
---|
77 | <option value="checkbox">Check Box ("Select Many")</option> |
---|
78 | <option value="radio">Radio Button ("Select One")</option> |
---|
79 | </select> |
---|
80 | </td> |
---|
81 | <th>Selected by default:</th> |
---|
82 | <td><input type="checkbox" name="[cbrd_checked]" id="[cbrd_checked]" value="1" /></td> |
---|
83 | </tr> |
---|
84 | <tr> |
---|
85 | <td colspan="4"> |
---|
86 | <p class="help"> |
---|
87 | Tip: Check boxes (select many) and radio buttons (select one only) that are choices for a single question should have the same Name to work correctly. |
---|
88 | </p> |
---|
89 | </td> |
---|
90 | </tr> |
---|
91 | </table> |
---|
92 | </fieldset> |
---|
93 | |
---|
94 | <fieldset name="[fs_button]" id="[fs_button]"> |
---|
95 | <legend>Button</legend> |
---|
96 | <table> |
---|
97 | <tr> |
---|
98 | <th>Name:</th> |
---|
99 | <td> |
---|
100 | <input type="text" name="[button_name]" id="[button_name]" size="25" /> |
---|
101 | </td> |
---|
102 | <th>Label:</th> |
---|
103 | <td> |
---|
104 | <input type="text" name="[button_value]" id="[button_value]" size="25" /> |
---|
105 | </td> |
---|
106 | </tr> |
---|
107 | <tr> |
---|
108 | <th>Type:</th> |
---|
109 | <td> |
---|
110 | <select name="[button_type]" id="[button_type]"> |
---|
111 | <option value="submit">Submit</option> |
---|
112 | <option value="reset">Reset</option> |
---|
113 | </select> |
---|
114 | </td> |
---|
115 | <td> </td> |
---|
116 | <td> </td> |
---|
117 | </tr> |
---|
118 | </table> |
---|
119 | </fieldset> |
---|
120 | |
---|
121 | |
---|
122 | <fieldset name="[fs_textarea]" id="[fs_textarea]"> |
---|
123 | <legend>Multi-line Field</legend> |
---|
124 | <table> |
---|
125 | <tr> |
---|
126 | <th>Name:</th> |
---|
127 | <td><input type="text" name="[textarea_name]" id="[textarea_name]" size="25" /></td> |
---|
128 | |
---|
129 | <th>Initial Value</th> |
---|
130 | </tr> |
---|
131 | |
---|
132 | <tr> |
---|
133 | <th>Width:</th> |
---|
134 | <td> |
---|
135 | <input type="text" name="[textarea_width]" id="[textarea_width]" size="5" /> |
---|
136 | <select name="[textarea_width_units]" id="[textarea_width_units]"> |
---|
137 | <option value="em">chars</option> |
---|
138 | <option value="px">px</option> |
---|
139 | <option value="%">%</option> |
---|
140 | </select> |
---|
141 | </td> |
---|
142 | <td rowspan="2"><textarea name="[textarea_value]" cols="40" rows="4" id="[textarea_value]"></textarea></td> |
---|
143 | </tr> |
---|
144 | |
---|
145 | <tr> |
---|
146 | <th>Height:</th> |
---|
147 | <td> |
---|
148 | <input type="text" name="[textarea_height]" id="[textarea_height]" size="5" /> |
---|
149 | <select name="[textarea_height_units]" id="[textarea_height_units]"> |
---|
150 | <option value="em">chars</option> |
---|
151 | <option value="px">px</option> |
---|
152 | </select> |
---|
153 | </td> |
---|
154 | </tr> |
---|
155 | |
---|
156 | </table> |
---|
157 | </fieldset> |
---|
158 | |
---|
159 | <fieldset name="[fs_select]" id="[fs_select]"> |
---|
160 | <legend>Drop-Down/List Field</legend> |
---|
161 | |
---|
162 | <table> |
---|
163 | <tr> |
---|
164 | <th>Name:</th> |
---|
165 | <td> |
---|
166 | <input type="text" name="[select_name]" id="[select_name]" size="25" /> |
---|
167 | </td> |
---|
168 | <th colspan="2">Options</th> |
---|
169 | </tr> |
---|
170 | <tr> |
---|
171 | <th>May Choose Multiple:</th> |
---|
172 | <td> |
---|
173 | <input type="checkbox" name="[select_multiple]" id="[select_multiple]" size="25" value="1" /> |
---|
174 | </td> |
---|
175 | <td rowspan="3"> |
---|
176 | <select name="[select_options]" size="5" id="[select_options]" > |
---|
177 | </select> |
---|
178 | </td> |
---|
179 | <td rowspan="3"> |
---|
180 | <input name="button" type="button" id="[add_option]" value="Add" /> |
---|
181 | <br> |
---|
182 | <input name="button2" type="button" id="[del_option]" value="Delete" /> |
---|
183 | <br> |
---|
184 | <input name="button2" type="button" id="[up_option]" value="Move Up" /> |
---|
185 | <br> |
---|
186 | <input name="button2" type="button" id="[down_option]" value="Move Down" /> |
---|
187 | </td> |
---|
188 | </tr> |
---|
189 | <tr> |
---|
190 | <th>Width:</th> |
---|
191 | <td> |
---|
192 | <input type="text" name="[select_width]" id="[select_width]" size="5" /> |
---|
193 | <select name="[select_width_units]" id="[select_width_units]"> |
---|
194 | <option value="em">chars</option> |
---|
195 | <option value="px">px</option> |
---|
196 | <option value="%">%</option> |
---|
197 | </select> |
---|
198 | </td> |
---|
199 | </tr> |
---|
200 | <tr> |
---|
201 | <th>Height:</th> |
---|
202 | <td> |
---|
203 | <input type="text" name="[select_height]" id="[select_height]" size="5" /> |
---|
204 | <select name="[select_height_units]" id="[select_height_units]"> |
---|
205 | <option value="items">items</option> |
---|
206 | <option value="px">px</option> |
---|
207 | </select> |
---|
208 | </td> |
---|
209 | </tr> |
---|
210 | </table> |
---|
211 | </fieldset> |
---|
212 | </div> |
---|