Or [{{!name}is[blank]then{!!title}]]
which reads slightly better, imo. Thanks for the discussion - I was next wanting to know how to show some info in a macro only if a field exists and is not blank. I think this will be useful. On Saturday, August 15, 2020 at 2:56:42 PM UTC-4 Mark S. wrote: > > > On Saturday, August 15, 2020 at 11:49:27 AM UTC-7, Eric Shulman wrote: >> >> On Saturday, August 15, 2020 at 11:42:38 AM UTC-7, Mark S. wrote: >>> >>> On Saturday, August 15, 2020 at 11:36:52 AM UTC-7, Eric Shulman wrote: >>>> >>>> The "else" filter only works if the preceding filter produces NO >>>> result... but if the {!!name} field exists, it has a value... it's just >>>> blank text. >>>> >>>> But that's not the puzzling situation. If *name* doesn't exist, then >>> there is NO output. I hadn't even checked the case where *name* exists >>> but is empty. >>> >> >> My *guess* is that {!!name} actually produces a blank value even if the >> field doesn't exist. >> >> > So, we can do : > > [{!!name}!is[blank]else{!!title}] > > > This seems to work whether name exists or is merely empty. > > 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/407d19a9-1528-48dd-a4cb-88f252f8cbcfn%40googlegroups.com.