Hi,
I would like to have something like this: when checked, a checkbox adds a tag to a tiddler but also creates a new tiddler based on the first one, without the possibly new tag.
I tried this on the TW site:
\define myactions()
<$action-createtiddler $basetitle=<<currentTiddler>> $template=<<currentTiddler>> />
<$action-listops $tiddler=<<createTiddler-title>> $field="tags" $subfilter="-done"/>
\end
<$tiddler tiddler="ActionCreateTiddlerWidget">
<$checkbox tag="done" actions=<<myactions>>>
done
</$checkbox>
</$tiddler>
Apparently this causes the opposite result: the original tiddler does not get the new tag but the new tiddler has it.
I don’t really understand how the <<createTiddler-title>>
is supposed to work (see official example).
What am I doing wrong?