How about searching and checking several user values at the same time? --Mohammad
On Thursday, December 26, 2019 at 5:34:08 PM UTC+3:30, Mohammad wrote: > > > - tiddler *Tid01 *has a *list *field with values like > - aa bb [[cc and spave]] dd > - tiddler *Tid02 *has a *list *field with values like > - uu xx [[tt with space]] dd kk > - a user value is given and it is desired to be checked if it is > listed in both Tid01 and Tid02 list fields > > > One solution may be like this > > <$vars tidA="Tid01" tidB="Tid02" x="user value"> > <$list filter="[<tidA>contains<x>] [<tidB>contains<x>] +[count[]match[2]]"> > it is in both tiddler list field > </$list> > </$vars> > > Note: for generality the $vars is used here. For example if user value is > dd, then the $list widget shall return "it is in both tiddler list field" > > What is the more efficient alternative? > > --Mohammad > -- 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/3c611b65-37c3-4fac-be66-99f9af7f6bbe%40googlegroups.com.

