- 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/1341a7aa-988c-4821-9cf2-21f4617b95f4%40googlegroups.com.