On Wednesday, September 9, 2020 at 3:52:50 PM UTC-7, Darek Bobak wrote: > > Is it possible to use in macro value of field-1, and if the field does not > exist, use field-2? >
Like this: <$vars value={{{ [get[field-1]else{!!field-2}] }}}> The "get" filter only returns a value if the field exists AND is not empty. If it doesn't have a value (or doesn't exist) then the "else" filter is evaluated (in this case, it returns the value from field-2) -e > > best, > Darek > -- 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/fb419913-aaad-4bb2-80b7-15cd0d0a228bo%40googlegroups.com.