handle multiple checkboxes and checkbox value attributes; issue #40