[tw5] Re: Showing a field if it exists and is not blank

2020-04-09 Thread TonyM
Backing up what Mat suggested the has[fieldname] will only show if the fieldname has a value, if you wanted to know if it existed but with no value you can use has:field[fieldname]] I know that is not what is asked for here, but it could have being. Regards Tony On Friday, April 10, 2020 at

[tw5] Re: Showing a field if it exists and is not blank

2020-04-09 Thread Mat
Try this <$list filter="[has[subtitle]]"> @@.myclass {{!!subtitle}} @@ <:-) -- 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

[tw5] Re: Showing a field if it exists and is not blank

2020-04-09 Thread Jalen MichalsLevy
I am no expert, but you could try the following: <$reveal type ="nomatch" stateTitle =<> stateField ="subtitle" text =""> ... <$transclude tiddler=<> field="subtitle" /> Lemme know how it works! On Thursday, April 9, 2020 at 11:51:44 AM UTC-4, David wrote: > > I'm inside a <$list> where