Hi Mans

Putting things together -- try this on: http://gwiz.tiddlyspot.com/

<$reveal type="nomatch" state="!!state1" text="show">
<$fieldset tiddler="other-target"  set="!!text" setTo="2">
<$setfield tiddler="target" set="!!text" setTo="your-content">
<$button  set="!!state1" setTo="show" 
message="tw-set-field">Set</$button></$setfield></$fieldset>
</$reveal>
<$reveal type="match" state="!!state1" text="show">
<$fieldset tiddler="other-target"  set="!!text" setTo="other-content">
<$setfield tiddler="target" set="!!text" setTo="1">
<$button set="!!state1" setTo="hide" 
message="tw-set-field">Set</$button></$setfield></$fieldset>
</$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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to