yrosgi

I see Eric got in first, but since I wrote this.

<$list filter="[all[current]has[source]get[source]]">
Source: <<currentTiddler>>
</$list>

This should work for you

   - This operates on the current tiddler, and would work well in the view 
   template
   - has[source] with return only non blank content, as opposed to 
   has:field[source] which will return even a blank field if it exists.
   - Since your filter capture field with the source field containing 
   content you may as well use get[source] to retrive the value

Regards
Tony

On Tuesday, May 12, 2020 at 10:51:14 AM UTC+10, yrosgi L wrote:
>
> I have tried to add the source field to the view template with following 
> text:
>
> source: {{!!source}}
>>
>
> when the source field is empty, it just display "source:" at the bottom.
> I hope that the snippet above only display while source field is no empty.
> How can I do that?
>
> Thanks.
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/91e46a3a-1246-4099-bcfd-42959f920af0%40googlegroups.com.

Reply via email to