I want to make settings of a tiddlers fields by means of checkboxes.
(For those who're following the
Backend project: This is part of that project. The idea is that the type-of-backend criteria is more of a first "road splitter" than the other criteria so I'll present it separately before the user enters the matrix. The following question is - technically - independent of the Backend project.)
It really should not be too difficult but I can't get it to work. In the actions and uncheckactions, I've tried every variant of subfilters and stuff I can think of but I'm doing something wrong. The user should be able to check multiple options. Here's the basic attempt:
\define chck(type)
<$checkbox
tiddler=requirements
field="criteria-type-of-backend"
checked="$type$"
unchecked=""
default=""
actions="""<$action-listops $tiddler=requirements $field="criteria-type-of-backend" $subfilter="$type$"/>"""
uncheckactions="""<$action-listops $tiddler=requirements $field="criteria-type-of-backend" $subfilter="-$type$"/>"""
>
$type$
</$checkbox>
\end
|<<chck Saver>>|Saving to common storage like local drive|
|<<chck Server>>|You host and fully control your data|
|<<chck Service>>|Someone else hosts and serves your wiki|
|<<chck Manager>>|Tool to manage multiple wikis "as objects"|
What am I doing wrong?
Thanks!
<:-)