Hello all,

I'm stumped. I'm trying to dynamically build a list for project management. 

This *static* works:
<$list filter="[[A]] [[B]] [[E]] [[X]]">
...
</$list>
... which are project importance values

But I've added checkboxes with the intent of filtering some of those out. 
For instance if I uncheck 'A', then I want it to hide 'A'. The *static* way 
would either be 

<$list filter="[[B]] [[E]] [[X]]">
...
</$list>

or 

<$list filter="[[A]] [[B]] [[E]] [[X]] -[[A]]">
...
</$list>

and I'm just trying to 'assemble' this dynamically. The checkbox stores 
each of the values in fields of a temp tiddler (though not married to that)

<$checkbox tiddler="$:/temp/importancefilter" field="importance_a" 
checked="" unchecked="A">A</$checkbox> for A for example

After hours of reading other posts, it seems the answer must be some 
combination of macros, <$macrocall>, <$wikify>, <$set> - but I can't seem 
to get it right... I know this doesn't work:

\define testfilter()
[[{{$:/temp/importancefilter!!importance_a}}]] 
[[{{$:/temp/importancefilter!!importance_b}}]] 
[[{{$:/temp/importancefilter!!importance_e}}]] 
[[{{$:/temp/importancefilter!!importance_x}}]] 
\end

Funnily enough I can put [[A]] in the testfilter, and I can also use the 
{{}} in the testfilter, but not together...

It must be simple and I'm just not getting it.

-- 
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/b133f67d-90bb-4df1-a0b7-dd5f9d922f27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to