How can I filter fields that start with a specific string?

38 views
Skip to first unread message

Tyler Harris

unread,
Apr 3, 2022, 7:05:56 PM4/3/22
to TiddlyWiki
Hi,
I am trying to view multiple fields that begin with a specific string.
I am using fields:
entry 1
entry 2
entry 3
I tried using this method:
<$view field="entry"/>
I want to be able to use a method that will view all fields starting with "entry".
Does anyone know of a way to do this?

Eric Shulman

unread,
Apr 3, 2022, 8:13:10 PM4/3/22
to TiddlyWiki
Try this:
```
<$list filter="[<currentTiddler>fields[]prefix[entry]]" variable="thisfield">
   <$view field=<<thisfield>>/>
</$list>
```
enjoy,
-e

Tyler Harris

unread,
Apr 3, 2022, 8:59:23 PM4/3/22
to TiddlyWiki

Thanks, this did the trick.
I have used TiddlyTools for the classic version. Do you have a site for TiddlyWiki5?
Thanks.
Reply all
Reply to author
Forward
0 new messages