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