Hi The $subfilter= and $tags= attributes are designed to input a subfilter expression run, and take as their input the current content of the target field, setting the value of the target field to the output of the subfilter.
The ActionListops widget also has a $filter= option, which is designed to input a full filter expression (in this case "[nazvanie[test]]"): then the value of the target field will be set to the output of this filter. I haven't added the $reveal widgets and visual indicator, in order to keep the example clear: <$button> <$action-listops $tiddler="test" $field="myfield" $filter="[nazvanie[test]]"/> Set myfield With Titles </$button> I'm not sure what the lower button is supposed to do? Perhaps clear the 'myfield' field -- in which case: <$button> <$action-listops $tiddler="test" $field="myfield" $filter="[[]]"/> Set myfield With Empty List </$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/a225a9dc-e36a-4ed6-ac4f-25e476d49d27%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

