Maybe a simple question: How do I return a list of fields with a specified value from the current tiddler

72 views
Skip to first unread message

Steven Schneider

unread,
Apr 15, 2020, 6:37:02 PM4/15/20
to TiddlyWiki
I have tiddler with many fields, some of which have a value of "Yes".

I'd like to display a list of those field names.

I sense it is straightforward, but the solution eludes me.

Thanks!

//steve.


Mark S.

unread,
Apr 15, 2020, 7:14:42 PM4/15/20
to TiddlyWiki

<$list filter="[<currentTiddler>fields[]]">

</$list>


TonyM

unread,
Apr 16, 2020, 9:53:32 AM4/16/20
to TiddlyWiki
Mark

You missed the question

'
<$list filter="[<currentTiddler>fields[]]" variable=fieldname>

<$list filter="[all[current]get<fieldname>match[yes]]">

<<fieldname>>

</$list>

</$list>
'

untested!

tony

Reply all
Reply to author
Forward
0 new messages