Hello everyone,
I have a tiddler that displays all the tiddlers that contain the word 
"TODO" in their text field along a checkbox button.
When I check the checkbox the field text of the corresponding tiddler 
changes and the prefix/suffix "~~" are added (strikethrough).

I have accomplished this using the following code:

\define line-through()
<$action-setfield text="~~$(text-field)$~~"/>
\end

<$list filter="[regexp:text[^TODO ]]">
<$set name="text-field" value={{!!text}}>
<$checkbox checkactions=<<line-through>> >
{{!!text}}
</$checkbox>
</$set>
</$list>

However I am now having problems removing the "~~" symbols when unchecking 
the checkbox.
Does anybody know what is the best way to do this?
Thank you.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/86a6467d-d6cb-4dc9-8d42-9a8f60ed146en%40googlegroups.com.

Reply via email to