I want to make settings of a tiddlers fields by means of checkboxes.
(For those who're following the Backend <http://backend.tiddlyspot.com/>
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!
<:-)
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/c0f92d3b-6fcf-42ff-b64a-e4b02af8eb38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.