I appreciate your help but the it is only if no tiddler *at all *has the 
id:<value> that something should happen.
Because I take it you mean that your filtered transclusion should be used 
like so:

<$list filter="[has[id]]">
{{{ [all[current]!contains:id<value> ... ] }}}
</$list>

...but then this will show all the tids with an id field that has another 
value than <value>
Or do I misunderstand something?

<:-)
On Sunday, February 21, 2021 at 2:37:30 PM UTC+1 Álvaro wrote:

> Have you tried with contains operator?
>
> In direct filter transclusion you can use something like that
> {{{ [all[current]!contains:id<value>then[I have to do X]else[] }}}
>
> Then you can use the filter in a listwidget and use the variable created 
> by the listwidget.
>
> El domingo, 21 de febrero de 2021 a las 10:47:35 UTC+1, Mat escribió:
>
>> Need some filter help. Pseudocode:
>>
>> <$vars value={{foo!!value}}>
>> filter=Among all tiddlers with an id field, if there is no tiddler with 
>> id:<value> then do X but if there is a tiddler with id:<value> then do 
>> nothing
>> </$vars>
>>
>> I assume it is some kind of then ... else construct but I can't quite 
>> materialize it and I'm getting confused by how I loose the tiddler titles 
>> if I look at their field values. Maybe I need something with the 
>> subfilter operator but I'm not sure how... ?
>>
>> Thank you.
>>
>> <:-)
>>
>

-- 
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/3f277c26-232b-413c-810f-0c4c736ef7d8n%40googlegroups.com.

Reply via email to