Subversion Repositories wimsdev

Rev

Rev 11292 | Rev 16291 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11292 Rev 14279
Line 1... Line 1...
1
!! +exec+ +html+
1
!! +exec+ +html+
-
 
2
!goto end
2
tit:formcheckbox
3
tit:formcheckbox
3
type:$type_exec
4
type:$type_exec
4
alias:htmlcheckbox
5
alias:htmlcheckbox
5
syntax:!formcheckbox ``name'' from ``n1'' to ``n2'' prompt ``promptlist''\
6
syntax:!formcheckbox ``name'' from ``n1'' to ``n2'' prompt ``promptlist''\
6
!formcheckbox ``name'' list ``selectlist'' prompt ``promptlist''
7
!formcheckbox ``name'' list ``selectlist'' prompt ``promptlist''
Line 21... Line 22...
21
  the html form will be in the corresponding html environmment. If the\
22
  the html form will be in the corresponding html environmment. If the\
22
  variable ``wims_ref_class'' is non empty, the class of this html environment is the value \
23
  variable ``wims_ref_class'' is non empty, the class of this html environment is the value \
23
  of this variable. The default of the menu will be the current value of the variable\
24
  of this variable. The default of the menu will be the current value of the variable\
24
  ``$name''.
25
  ``$name''.
25
 
26
 
26
:sample:<table class="wimstable" summary="list some samples for formcheckbox command">\
27
sample:see below
27
<thead>\
28
:end
28
  <tr>\
29
<tr>
29
    <th>Command</th>\
30
  <td><code>!formcheckbox varCHK1 from 1 to 3 prompt txt1,txt2,txt3</code></td>
30
    <th>Result</th>\
-
 
31
  </tr>\
31
  <td>
-
 
32
    !formcheckbox varCHK1 from 1 to 3 prompt txt1,txt2,txt3
32
</thead>\
33
  </td>
33
<tbody>\
34
</tr>
34
  <tr>\
35
<tr>
35
    <td><code>!formcheckbox varCHK1 from 1 to 3 prompt txt1,txt2,txt3</code></td>\
36
  <td><code>!formcheckbox varCHK2 list a,b,c prompt txtA,txtB,txtC</code></td>
36
    <td>\
37
  <td>
37
        !formcheckbox varCHK1 from 1 to 3 prompt txt1,txt2,txt3\
38
    !formcheckbox varCHK2 list a,b,c prompt txtA,txtB,txtC
38
    </td>\
39
  </td>
39
  </tr>\
40
</tr>
40
    <tr>\
41
<tr>
-
 
42
  <td><code>&lt;ol&gt;<br/>!set wims_html_mode=li
41
    <td><code>!formcheckbox varCHK2 list a,b,c prompt txtA,txtB,txtC</code></td>\
43
  <br/>!formcheckbox varCHK3 list apple,pear prompt &amp;#x1f34e;,&amp;#x1f350;
-
 
44
  <br/>&lt;/ol&gt;</code></td>
-
 
45
  <td>
42
    <td>\
46
    <ol>
-
 
47
    !set wims_html_mode=li
43
        !formcheckbox varCHK2 list a,b,c prompt txtA,txtB,txtC\
48
    !formcheckbox varCHK3 list apple,pear prompt &#x1f34e;,&#x1f350;
44
    </td>\
49
    </ol>
45
  </tr>\
50
  </td>
46
 </tbody>\
-
 
47
</table>\
51
</tr>
48
</div>
52