On Sunday, December 31, 2017 at 8:03:54 PM UTC-8, TonyM wrote:
>
> Can anyone tell me why I am seeing both the + and the - Button here, and 
> why the "has" and "!has" is not working?
> \define fieldnames()
> <$list filter="[list[!!fieldnames]]" variable=eachfield>
>    <$list filter="[is[current]!has[<eachfield>]]" variable=null>
> ...
>
 

>    </$list>
>    <$list filter="[is[current]has[<eachfield>]]" variable=null>
> ...
>

Your filter syntax is incorrect.  The brackets are used to indicate the 
type of operand.... square brackets surround literal values, curly braces 
around field references, and angle brackets around variable names.  Thus, 
omit the extra square brackets and just use the angle brackets, like this:

<$list filter="[is[current]!has<eachfield>]" variable=null>
and
<$list filter="[is[current]has<eachfield>]" variable=null>

enjoy,
-e
Eric Shulman
TiddlyTools.com: "Small Tools for Big Ideas!" (tm)
InsideTiddlyWiki: The Missing Manuals




-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2dc0b8fd-745d-41aa-a2de-a21f8f46f6d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to