Subversion Repositories wimsdev

Rev

Rev 17228 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17228 Rev 18225
Line 5... Line 5...
5
alias:htmlcheckbox
5
alias:htmlcheckbox
6
syntax:!formcheckbox ``name'' from ``n1'' to ``n2'' prompt ``promptlist''\
6
syntax:!formcheckbox ``name'' from ``n1'' to ``n2'' prompt ``promptlist''\
7
!formcheckbox ``name'' list ``selectlist'' prompt ``promptlist''
7
!formcheckbox ``name'' list ``selectlist'' prompt ``promptlist''
8
 
8
 
9
mean:Creates a checkbox list menu under a previously defined html form. <br>\
9
mean:Creates a checkbox list menu under a previously defined html form. <br>\
10
  This command speeds up the creation of checkboxed menus, as well as simplifies\
10
  This command speeds up the creation of checkboxed menus (limited to MAX_MENU_ITEMS), as well as simplifies\
11
  the source files. In the parameters, ``name'' defines the name field of the menu, \
11
  the source files. In the parameters, ``name'' defines the name field of the menu, \
12
  and the values of the menu are either integers going from ``n1'' to ``n2'' (in the first syntax),\
12
  and the values of the menu are either integers going from ``n1'' to ``n2'' (in the first syntax),\
13
  or items in the list ``selectlist''. <br>\
13
  or items in the list ``selectlist''. <br>\
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\
Line 22... Line 22...
22
  variable ``wims_ref_class'' is non empty, the class of this html environment is the value \
22
  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\
23
  of this variable. The default of the menu will be the current value of the variable\
24
  ``&#36;name''. <br>\
24
  ``&#36;name''. <br>\
25
  The variables ``wims_ref_id'' and ``wims_html_mode'' are reinitialized after the html form.
25
  The variables ``wims_ref_id'' and ``wims_html_mode'' are reinitialized after the html form.
26
sample:see below
26
sample:see below
-
 
27
 
27
:end
28
:end
28
<tr>
29
<tr>
29
  <td><code>!formcheckbox varCHK1 from 1 to 3 prompt txt1,txt2,txt3</code></td>
30
  <td><code>!formcheckbox varCHK1 from 1 to 3 prompt txt1,txt2,txt3</code></td>
30
  <td>
31
  <td>
31
    !formcheckbox varCHK1 from 1 to 3 prompt txt1,txt2,txt3
32
    !formcheckbox varCHK1 from 1 to 3 prompt txt1,txt2,txt3