Steve

There is definitely a much simpler way, but till someone shows us how, 
here's one way of doing it:
\define find-in-fields(tid value)
<$list filter="[[$tid$]fields[]] -text" variable="thefield">
<<findvalue tid:"$tid$" value:"$value$">>
</$list>
\end

\define findvalue(tid value)
<$list filter="[[$tid$]field:$(thefield)$[$value$]]">

$(thefield)$ : $value$
</$list>
\end

<<find-in-fields tid:"My Tiddler" value:XYZ>>

Cheers



On Monday, March 25, 2019 at 10:59:07 AM UTC+7, st...@sunypoly.edu wrote:
>
> Hi,
>
> I'm sure I've done this before, but...
>
> I need to get a list of all fields in a given tiddler "My Tiddler" that 
> have a value of "XYZ"
>
> Thanks in advance,
>
> //steve.
>
>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/33d646f8-d1d0-4cf2-9a27-ac540d076428%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to