Hi,

I have the same problem : using a field value in a filter expression.
So far I use a macro and a variable :

At the beginning of the tiddler :

\define myFilter()
<$list filter="[sameday[*$(fieldvalue)$*]!is[system]]">
<$view field="title"/>
</$list>
\end

and then use it like that :

<$set name="fieldvalue" value={{!!day}}>
<<myFilter>>
</$set>

FrD

Le mardi 22 avril 2014 14:16:52 UTC+2, Дмитрий Ивашкин a écrit :
>
> Hi, I'm trying to make a filter that shows tiddlers created by a certain 
> date.
>
> So, I have a tiddler that has custom "day" field. Then I have an interface 
> to change it:
>
> <$edit-text field="day" tag="input" type="date"/>
>
> So far, so good. Then I have a list of tiddlers that were created on the 
> selected date:
>
> <$list filter="[sameday[*???*]!is[system]]">
> <$view field="title"/>
> </$list>
>
> How do I insert content of "day" field from current tiddler to the search 
> field of the filter above? Is there a way to do that?
>

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to