Add an exclamation point in front of the condition:
if (!tiddler.isTagged("A"))
Or use an else statement.
w
On Aug 19, 9:40 pm, axelm <[email protected]> wrote:
> Hello All,
>
> I have neat little script:
>
> <script>var tiddler = store.getTiddler(title); if (tiddler.isTagged("A"))
> return "Done";</script>
>
> How do I change it so that it returns "Done" if the tag "A" is NOT there?
> Tried this "tiddler.isNOTTagged" but that doesn't work.
>
> Please help,
>
> axelm
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.