Give this a try:
```
\define checkbox-list(values,fieldname)
<$list filter="[enlist[$values$]]" variable="thisValue" >
<div><$checkbox listField="$fieldname$" checked=<<thisValue>>> <<thisValue>></$checkbox></div>
</$list>
\end
```
Notes:
* If the `values` list has items that contain double quotes or square brackets, those characters will interfere with the parsing of the `$list` filter syntax. To avoid this problem, instead of writing `filter="[enlist[$values$]]"`, you can write: `filter="[enlist<__values__>]"`. see
https://tiddlywiki.com/#Macro%20Definitions%20in%20WikiText for more info.
* Note also that, while brackets (square, angled, or curly) within wikitext syntax are doubled, when used in filter syntax, they are SINGLE (i.e., `[enlist<__values__>]`... NOT `[enlist<<__values__>>]`)
enjoy,
-e