I made a simple ToDO tiddler, similar to TaskManagementExample on TW-org, but the version I used differs slightly, so I have some questions about the syntax differences.
- I understand the code, and everything is working as is, however I want to have the ToDO tag auto-removed when ticked AND if the completed item is unticked the ToDO tag is added back.
From a TW-beginner’s perspective, this would be handy whilst editing. If I decide to change something common to a number of tiddlers, I can quickly unmark any previously complete tiddlers via the completed list.
I’ve read a few $checkbox related posts, also references: CheckboxWidget, and ActionWidgets — but at this stage I don’t have a good grasp of the TW-code syntax.
- I thought it would simply be a case of replacing
$checkbox tag="done">
with$checkbox tag="ToDO"
— but that doesn’t work.
I also tried —<$checkbox tag="done" unchecked="tag[ToDO]">
— fail. I suspect my syntax is a bit messed up.
How does the widget know to remove the “done” tag when you untick the box?
I’m hoping that what I’d like to do is simple.
- Lastly, in reference to syntax differences in my opening paragraph, is the use of —
<$link to ={{!!title}}> <$view field='title'/> </$link>
While the TW.org reference is far simpler and appears to do the same thing —<$link/>
. Am I misunderstanding something here?