I'm not sure I understand your point about having to uncheck the "In
Progress" checkbox. Since it's tagged as "In Progress", naturally it will
show up as checked. The alternative would be for it to show "unchecked"
even when the tag is present.
If for some reason you do want the checkbox to show just the opposite of
the actual status, there is now an attribute that you can add to the
checkbox widget:
invertTag=*yes*
If you want a single object that both removes tag "In Progress" and also
adds tag "Needs Revision", you can do it with a button instead of a
checkbox inside of a field mangler widget. The stand-alone code would look
like:
<$fieldmangler>
<$button>In Progress
<$action-sendmessage $message="tm-remove-tag" $param="In Progress"/>
<$action-sendmessage $message="tm-add-tag" $param="Needs Revision"/>
</$button>
</$fieldmangler>
You would need to put that inside of your <$list> of course.
Good luck,
Mark
On Saturday, September 3, 2016 at 9:30:38 AM UTC-7, Drake Shadwell wrote:
>
> I use Tiddly Wiki for a lot different journals, projects, etc... I like to
> write, revise, complete. I would like to have that in a list on my home
> screen. Right now I have it so that it will compile a list of Tiddlers that
> do NOT have a tag and then when the check box is checked it will add that
> tag to the Tiddler. However, what I want is for it to have a list of
> Tiddlers with a tag (let's say "Journal") and a tag of something like "In
> Progress". Once I check the box, I want "In Progress" tag to be deleted and
> "Revisions Needed" tag to be added. That will then move it to a completely
> new, different list where the same thing will happen, but "Needs Revision"
> will become "Completed".
>
> The code that I'm using so far is:
>
> <$list filter="[!has[draft.of]tag[In Progress]sort[created]]">
>
> <$checkbox tag="In Progress"><$link to={{!!title}}><$view
> field="title"/></$link></$checkbox>
> </$list>
>
>
> This does almost what I want, but it's really annoying because the
> checkbox is CHECKED and I have to UNCHECK it in order to delete the "In
> Progress" tag. I would much have it the normal way a checkbox works. It
> also doesn't add the "Needs Revision" tag that I want.
>
>
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/25d2c734-3dcf-4dec-833a-f3b28febb4d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.