Eric, this is no doubt the way I would do it, but I had a thought, Something like this should work in a single list;
[tag<tagName><fieldName><fieldValue>] Or [tag[howdy]special[Yes]] What do you think? Tony On Saturday, April 18, 2020 at 2:52:47 PM UTC+10, Eric Shulman wrote: > > On Friday, April 17, 2020 at 8:59:44 PM UTC-7, Steven Schneider wrote: >> >> How do I get a list of tiddlers with a field that has a specified value. >> I have TiddlerA with tag "howdy" with field "special" with value "Yes" >> > > You can use two nested $list widgets, like this: > <$vars tagName="howdy" fieldName="special" fieldValue="Yes"> > <$list filter="[tag<tagName>has<fieldName>]"> > <$list filter="[<currentTiddler>get<fieldName>match<fieldValue>]" > variable="is_match"> > <<currentTiddler>> > </$list> > </$list> > </$vars> > > The outer $list widget finds all tiddlers tagged with <<tagName>> that > have a field named <<fieldName>>. > The inner $list widget tests each tiddler to see if the value of the > fieldName matches the <<fieldValue>>. > Then, for each tiddler with a matching value, it does something (in the > above example, it just displays the name of the tiddler) > > enjoy, > -e > > > > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f0c2975a-ddc5-45f0-b013-42a8041db696%40googlegroups.com.

