Subversion Repositories wimsdev

Rev

Rev 5766 | Rev 11210 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
32 reyssat 1
!! +exec+ +html+
2
$lst_tit formselect$lst_titend$type_exec
4562 bpr 3
  $lst_alias htmlselect
32 reyssat 4
  $(lst_syntax)formselect $emph name$emphend from $emph n1$emphend
5766 bpr 5
    to $emph n2$emphend prompt $emph promptlist $emphend<br/>
5921 bpr 6
    </span>or<span class="tt"> <br/>
32 reyssat 7
    $!formselect $emph name$emphend list
8
    $emph selectlist$emphend prompt $emph promptlist$emphend
5921 bpr 9
    </span> <br/>
5766 bpr 10
  $lst_mean Creates a select menu under a previously defined html form. <br/>
32 reyssat 11
  This command speeds up the creation of select menus, as well as simplifies
12
  the source files. In the parameters, $emph name$emphend defines the
13
  name field of the menu, and the values of the menu are either integers
14
  going from $emph n1$emphend to $emph n2$emphend (in the first syntax), or
5766 bpr 15
  items in the list $emph selectlist$emphend. <br/>
32 reyssat 16
  The optional parameter $emph promptlist$emphend can be used to generate
17
  user prompts for each items in the list. If $emph promptlist$emphend is
18
  empty or is shorter than $emph selectlist$emphend, the undefined prompts
19
  will be replaced by the value. If it is longer, the rest will be ignored.
5766 bpr 20
  <br/>
32 reyssat 21
  The default of the menu will be the current value of the variable
5766 bpr 22
  $emph $$name$emphend. <br/>
32 reyssat 23
  The variable $emph wims_formselect_switch$emphend may be used to set
5921 bpr 24
  switches (for example by letting <span class="tt">wims_formselect_switch=multiple</span>,
32 reyssat 25
  the selection will be multiple.
26