Add items to list based on checkboxes selected in another list

Author: Julian Hansen, Jul 2019

Click the items on the left to see the effect on
a) The list box on the right
b) The List of Selected Items under the first list as a CSV string

In addition you can test pre-selection of checkboxes by adding the ?c=X,X,X to the URL where X,X,X is replaced by 1 based index of Checkbox in the list. Example Select items 1,3 and 5

  • 10
  • 20
  • 30
  • 40
  • 50
  • 60

    List of selected items