Skip to content
Matthias Görges edited this page Jul 14, 2016 · 4 revisions

The uiform checklist element shows a list of string checkboxes.

Parameter Default Description
id #f Variable to store selected strings in
location 'db Checklist variable storage location
default '() List of string entries
radio #f Allow only one item to be selected (radiobox)

Example

Example 1: A complete page definition with checklist, from LNhealth's apps/WidgetDemo

(ex_checklists
  "Checklists"
  ("Prev" ex_boxes #f)
  ("Next" ex_dropdowns #f)
  (spacer)
  (label text "Multiple choice:" align center)
  (spacer)
  (checklist id dummy_lst1 default ("element 1" "element 2" "element 3"))
  (spacer)
  (label text "Single choice:" align center)
  (spacer)
  (checklist id dummy_lst2 default ("element 4" "element 5" "element 6") radio #t)
)
Clone this wiki locally