Hi Eric,
On Sat, Mar 20, 2021 at 9:19 PM Eric Shulman <[email protected]> wrote:
> On Saturday, March 20, 2021 at 9:45:23 AM UTC-7 Mohammad wrote:
>
>> <$vars disabled={{{[<tmpTid>get[name]!is[blank]then[no]else[yes]]
>> :intersection[<tmpTid>get[colorscheme]!is[blank]then[no]else[yes]]
>> ~[[yes]]}}} >
>> This is an *ugly *solution! I am looking for a simpler, more semantic
>> and easy to follow!
>>
>
> You can use the "has[...]" filter which, by default, looks for *non-empty*
> field values.
> You can also combine both field tests into one filter run.
>
> Thus:
> <$vars disabled={{{ [<tmpTid>has[name]has[colorscheme]then[no]else[yes]]
> }}}>
>
>
Wonderful! Works like a charm!
> enjoy,
> -e
>
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/f77b6d4b-cf1c-43a7-ab89-e79a0e139731n%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/f77b6d4b-cf1c-43a7-ab89-e79a0e139731n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
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/CAAV1gMDbutvSDuZvf%2BTppPWj7cPfvYCY77sKKUotiMrOyXPNYw%40mail.gmail.com.