Hi Mans

Looking at your code -- perhaps use fields for your state variables to 
avoid unnecessary proliferation of $:/state tiddlers -- like this:

<$reveal type="nomatch" state="!!Hit1State" text="show">
<$button set="!!Hit1State" setTo="show">O</$button>
</$reveal>
<$reveal type="match" state="!!Hit1State" text="show">
<$button set="!!Hit1State" setTo="hide">X</$button>
</$reveal>

regards

On Sunday, May 25, 2014 10:38:21 PM UTC+2, Måns wrote:
>
> Hi TwWizards
>
> I don't know how to create a "showwhen" field value is *not* a specified 
> value with the list filter field operator.
>
> <$list filter="[mark[1]]"><span class="red"><$view 
> field="1"/></span></$list>
> will show the text value of field 1 wrapped in my "red class" when there's 
> a text value "1"  of another field "mark". 
>
> How do I create the opposite effect? - sth like when the value of the 
> field "mark" is not 1 - then show value og field one (no class)?
>
> <$list filter="![mark[1]]"><$view field="1"/></$list>
>
> Cheers Måns Mårtensson
>

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to