2,26 → 2,26 |
tit:formcheckbox |
type:$type_exec |
alias:htmlcheckbox |
syntax:!formcheckbox `name' from `n1' to `n2' prompt `promptlist'\ |
!formcheckbox `name' list `selectlist' prompt `promptlist' |
syntax:!formcheckbox ``name'' from ``n1'' to ``n2'' prompt ``promptlist''\ |
!formcheckbox ``name'' list ``selectlist'' prompt ``promptlist'' |
|
mean:Creates a checkbox list menu under a previously defined html form. <br/>\ |
This command speeds up the creation of checkboxed menus, as well as simplifies\ |
the source files. In the parameters, `name' defines the name field of the menu, \ |
and the values of the menu are either integers going from `n1' to `n2' (in the first syntax),\ |
or items in the list `selectlist'. <br/>\ |
The optional parameter `promptlist' can be used to generate\ |
user prompts for each items in the list. If `promptlist' is\ |
empty or is shorter than `selectlist', the undefined prompts\ |
the source files. In the parameters, ``name'' defines the name field of the menu, \ |
and the values of the menu are either integers going from ``n1'' to ``n2'' (in the first syntax),\ |
or items in the list ``selectlist''. <br/>\ |
The optional parameter ``promptlist'' can be used to generate\ |
user prompts for each items in the list. If ``promptlist'' is\ |
empty or is shorter than ``selectlist'', the undefined prompts\ |
will be replaced by the value. If it is longer, the rest will be ignored.\ |
<br/>\ |
An `id' is created automatically, except if the variable\ |
`wims_ref_id' is specified just before. If the variable\ |
`wims_html_mode' has a value as `div', `li', `td', the different items of\ |
An ``id'' is created automatically, except if the variable\ |
``wims_ref_id'' is specified just before. If the variable\ |
``wims_html_mode'' has a value as ``div'', ``li'', ``td'', the different items of\ |
the html form will be in the corresponding html environmment. If the\ |
variable `wims_ref_class' is non empty, the class of this html environment is the value \ |
variable ``wims_ref_class'' is non empty, the class of this html environment is the value \ |
of this variable. The default of the menu will be the current value of the variable\ |
`$name'. |
``$name''. |
|
:sample:<table class="wimstable" summary="list some samples for formcheckbox command">\ |
<thead>\ |