Discussion:
[tw] Creating a simple checklist with checkboxes inside a tiddler
Shash
2015-04-22 11:19:44 UTC
Permalink
Hi all,

Instead of a numbered list, I just want to create a simple checklist with
check boxes inside a tiddler. However I do not want to create multiple
tiddlers with a tag and list it inside a particular tiddler. Also after
clicking inside the checkbox I want the content to strike out.

Is there a simple way to achieve this.

Thanks!
Shash
--
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+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ad1062c2-b7aa-47ca-82d0-6f20d5ad3de2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'c pa' via TiddlyWiki
2015-04-22 15:52:55 UTC
Permalink
Shash,

I've achieved this using the following: It creates a tiddler that holds
tags for your checklist items.

Create a tiddler called "checklist" with the following content

\define checklist()
<$checkbox tiddler="$:/_cpa/Data/todos" tag="todo:$(currentTiddler)$">
<$link to="$(currentTiddler)$" tooltip="Create new detailed task">
$(currentTiddler)$
</$link>
</$checkbox>
\end
<$macrocall $name="checklist" />

I have a much more functional version called "tasks" that stores the items
text; allows you to take notes on your checklist items; allows you to list
the items separately here:

http://cpashow.tiddlyspot.com/#task
http://cpashow.tiddlyspot.com/#todos
And showing the data store:
http://cpashow.tiddlyspot.com/#%24%3A%2F_cpa%2FData%2Ftodos
--
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+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/dae2a8b5-1db8-4f9f-ab54-40c1b8115cc8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Freddy Grün
2015-05-22 21:03:38 UTC
Permalink
Hei Shash,

did you ever get this to work? I'm looking for exactly the same thing but
can't fully grasp how c_pa's answer works.

Once I've created the checklist tiddler, how to I start the todo list?

Cheers!
Post by Shash
Hi all,
Instead of a numbered list, I just want to create a simple checklist with
check boxes inside a tiddler. However I do not want to create multiple
tiddlers with a tag and list it inside a particular tiddler. Also after
clicking inside the checkbox I want the content to strike out.
Is there a simple way to achieve this.
Thanks!
Shash
--
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+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a46de677-9bdc-457d-99f1-e34441713b5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'c pa' via TiddlyWiki
2015-05-28 02:35:30 UTC
Permalink
Hey guys sorry forgot to include the rest of the instructions

Once you've created your tiddler named "checklist" with the above mentioned
code, Then in any other tiddler you can type the following and get your
checklist items

* {{This is a test||checklist}}
* {{This is another test||checklist}}

With this method you should be able to list all of your completed items
using this code: (untested)

<$list filter=""[[$:/_cpa/Data/todos]tags[]]">

</$list>
--
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+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7887251b-8d3d-42eb-80bb-30aab6ef68fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Spangenhelm
2015-06-18 10:37:23 UTC
Permalink
Hi, i do not understand something: what would you like to list ? a simple
checklist ? If you do not want to use multiple tiddlers for that then i
guess you would need some javascript because in tw everything is a tiddler..

Cheers!
Post by Shash
Hi all,
Instead of a numbered list, I just want to create a simple checklist with
check boxes inside a tiddler. However I do not want to create multiple
tiddlers with a tag and list it inside a particular tiddler. Also after
clicking inside the checkbox I want the content to strike out.
Is there a simple way to achieve this.
Thanks!
Shash
--
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+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/9d6b3c14-dbd6-4313-820a-086b69369cbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...