Rev 14279 | Rev 16697 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 14279 | Rev 16291 | ||
---|---|---|---|
Line 14... | Line 14... | ||
14 | The optional parameter ``promptlist'' can be used to generate user prompts for each items in the list.\ |
14 | The optional parameter ``promptlist'' can be used to generate user prompts for each items in the list.\ |
15 | If ``promptlist'' is empty or is shorter than ``selectlist'', the undefined prompts\ |
15 | If ``promptlist'' is empty or is shorter than ``selectlist'', the undefined prompts\ |
16 | will be replaced by the value. If it is longer, the rest will be ignored.\ |
16 | will be replaced by the value. If it is longer, the rest will be ignored.\ |
17 | <br/>\ |
17 | <br/>\ |
18 | The default of the menu will be the current value of the variable ``$name''.\ |
18 | The default of the menu will be the current value of the variable ``$name''.\ |
- | 19 | An ``id'' is created automatically, except if the variable\ |
|
- | 20 | ``wims_ref_id'' is specified just before. If the variable\ |
|
- | 21 | ``wims_html_mode'' has a value as ``div'', ``li'', ``td'', the different items of\ |
|
- | 22 | the html form will be in the corresponding html environmment. If the\ |
|
19 |
|
23 | variable ``wims_ref_class'' is non empty, the class of this html environment is the value \ |
20 | - | ||
- | 24 | of this variable. The default of the menu will be the current value of the variable\ |
|
- | 25 | ``$name''. |
|
21 | sample:see below |
26 | sample:see below |
22 | :end |
27 | :end |
23 | <tr> |
28 | <tr> |
24 | <td><code>!formradio quest1 list 0,1,2 prompt zero,one,two</code></td> |
29 | <td><code>!formradio quest1 list 0,1,2 prompt zero,one,two</code></td> |
25 | <td> |
30 | <td> |
26 | !formradio quest1 list 0,1,2 prompt zero,one,two |
31 | !formradio quest1 list 0,1,2 prompt zero,one,two |
27 | </td> |
32 | </td> |
28 | </tr> |
33 | </tr><tr> |
29 | <tr> |
- | |
30 | <td><code>!formradio quest2 from 0 to 2 prompt A,B,C</code></td> |
34 | <td><code>!formradio quest2 from 0 to 2 prompt A,B,C</code></td> |
31 | <td> |
35 | <td> |
32 | !formradio quest2 from 0 to 2 prompt A,B,C |
36 | !formradio quest2 from 0 to 2 prompt A,B,C |
33 | </td> |
37 | </td> |
34 | </tr> |
38 | </tr><tr> |
35 | <tr> |
- | |
36 | <td><code>!set wims_ref_id=quest3_0<br/>!formradio quest3 list 0 prompt one choice</code></td> |
39 | <td><code>!set wims_ref_id=quest3_0<br/>!formradio quest3 list 0 prompt one choice</code></td> |
37 | <td> |
40 | <td> |
38 | !set wims_ref_id=quest3_0 |
41 | !set wims_ref_id=quest3_0 |
39 | !formradio quest3 list 0 prompt one choice |
42 | !formradio quest3 list 0 prompt one choice |
- | 43 | </td> |
|
- | 44 | </tr><tr> |
|
- | 45 | <td><code><ul class="inline"><br/>!set wims_html_mode=li |
|
- | 46 | <br/>!formradio varCHK3 list apple,pear prompt &#x1f34e;,&#x1f350; |
|
- | 47 | <br/></ul></code></td> |
|
- | 48 | <td> |
|
- | 49 | <ul class="inline"> |
|
- | 50 | !set wims_html_mode=li |
|
- | 51 | !formradio varCHK3 list apple,pear prompt 🍎,🍐 |
|
- | 52 | </ul> |
|
40 | </td> |
53 | </td> |
41 | </tr> |
54 | </tr> |