Hi

Or, of course you might prefer to iterate through the list with a $list 
widget:

<$button>
<$list filter="[my[filter]]" variable="remove">
<$action-listops  $tiddler="test" $field="myfield" $subfilter="-[<remove>
]"/>
</$list>
Remove Filtered Titles
</$button>

regards

On Monday, 18 January 2016 12:48:13 UTC+2, sini-Kit wrote:
>
> Hi! I try to understand how to   work with ListopsWidget . I try to find 
> all tidders with field nazvane:test (I have 3) and put their titles to 
> field "myfield" in test tiddler.
>
> here is my code  
>
> <$reveal type='nomatch' state='$:/state/someuniquenameforthisstuff' 
> text='checked'>
>  <$button class='tc-btn-invisible'>☐ Is it done?
> <$list filter='[nazvanie[test]]'>
> <$action-listops $tiddler="test" $field="myfield" 
> $subfilter=<<currentTiddler>>/>
> </$list>
> <$action-setfield $tiddler='$:/state/someuniquenameforthisstuff' 
> text=checked/>
> </$button>
> </$reveal>
> <$reveal type='match' state='$:/state/someuniquenameforthisstuff' 
> text='checked'>
>  <$button class='tc-btn-invisible'>☑ Is it done?
> <$list filter='[nazvanie[test]]'>
> <$action-listops $tiddler="test" $field="myfield" 
> $subfilter="+-<<currentTiddler>>"/>
> </$list>
> <$action-setfield $tiddler='$:/state/someuniquenameforthisstuff' 
> text=unchecked/>
> </$button>
> </$reveal>
>
> <$view tiddler="test" field="myfield"/>
>
>    it works, but it don't add [[to titles with space]] and it don't work 
> with -<<currentTiddler>>  I try with "", but I didn't help.
>
> here is my experiment 
> ttp://novye-podarki.ru/empty10_.html#2016-01-18%2012%3A23%3A18 
> <http://novye-podarki.ru/empty10_.html#2016-01-18%2012%3A23%3A18>
>
> how can I modify my code to make it work in a proper way?
>
>

-- 
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/cf90320d-25ba-487c-8ca2-eec3a561b845%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to