Mat,

I tried this on my personal wiki and it creates the requirements tiddler 
and applies the values as I would expect.

If none is checked its blank, and when one is checked and you check another 
the value changes.

All working to my knowledge

Tony


On Thursday, May 24, 2018 at 7:53:27 PM UTC+10, Mat wrote:
>
> 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/4acebb4f-069d-435b-8fdb-0d931690cb96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to