Using a field for the state was just what I was looking for, thanks!

On Tuesday, 26 April 2016 19:39:37 UTC+3, Hegart Dmishiv wrote:
>
> Hi Shaw,
>
> Sounds to me like you want a *<$reveal>* widget. Something like:
>
> <$reveal type="match" text="T" state=!!tags>Tam</$reveal>
>
> Hope this helps. Give the TW documentation 
> <http://tiddlywiki.com/#RevealWidget> a look over, if my example doesn't 
> work exactly as expected.
>
> Hegart.
>
>
> On Wednesday, 27 April 2016 04:05:05 UTC+12, Shaw McAllan wrote:
>>
>>  Hey, All :)
>>  
>> Is it possible to return a specific value depending on the tags attached 
>> to tiddlers?
>>  
>> I'd like the value "Tam" to show up in a table if the tag is "T", "Kaye" 
>> if it's "K" and "Jason" if it's "J".
>>  
>> At the moment, I have this:
>>  
>> <table>
>> <th>Assigned</th><th>Task</th><th>Status</th>
>> <$list filter="[tag[J]]">
>> <tr><td></td><td><<currentTiddler>></td><td></td></tr>
>> </$list>
>> <$list filter="[tag[K]]">
>> <tr><td></td><td><<currentTiddler>></td><td></td></tr>
>> </$list>
>> </table>
>>
>> I'd like the first column of the table to pull through Tam, Jason or Kaye 
>> but I have no idea as to where to start...?
>>  
>>  
>> Thanks for any pointers,
>> -S
>>
>

-- 
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/4383f89d-bf76-4004-a96a-dfa228889636%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to