Hi
The <$checkbox> widget is tied to a single field -- this can not be used to
set two tags. There is a way to do this with a button -- the most
straightforward method is to use a pair of <$mangletags> widgets from here:
http://gwiz.tiddlyspot.com
<$list filter="[tag[task]!tag[tag1]]">
<$mangletags add="tag2">
<$mangletags tiddler=<<currentTiddler>> add="tag1">
<$button message="tw-mangle-tags" class="btn-invisible">Set
{{!!title}}</$button>
</$mangletags></$mangletags>
</$list>
The "!tag[tag1]" in the filter expression of the <$list> widget removes the
tiddler from the list once the tags have been set. There are usage examples
and demos on the site that demonstrate other uses of the <$mangletags>
widget.
regards
On Monday, July 21, 2014 8:35:03 AM UTC+2, James wrote:
>
> Hi PMario,
>
> Thanks. Can I set two tags when I click on the checkbox?
>
>
> On Monday, 21 July 2014 07:09:24 UTC+8, James wrote:
>>
>> Hi all,
>>
>> I am currently trying to do a checklist/todo list in one of my tiddler.
>> Would it be possible if I can tick on the checkbox and the list item cross
>> automatically?
>>
>
--
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.