Of course the standard method for this is the radio button. It uses fields not tags
https://tiddlywiki.com/#RadioWidget Regards Tony On Wednesday, November 13, 2019 at 8:40:09 AM UTC+11, si wrote: > > I have a 'task' tiddler that displays checkboxes to indicate the priority > of the task: > > <$checkbox tag="high-priority"> High Priority</$checkbox> > > <$checkbox tag="low-priority"> Low Priority</$checkbox> > > I've tried to get it so that if I check one of the boxes the other will be > unchecked automatically. > > I have tried using the checkactions attribute as follows: > > \define uncheck-high-priority() <$action-sendmessage $message= > "tm-remove-tag" $param="high-priority"/> > \define uncheck-low-priority() <$action-sendmessage $message= > "tm-remove-tag" $param="low-priority"/> > > <$checkbox tag="high-priority" checkactions=<<uncheck-low-priority>>> High > Priority</$checkbox> > > <$checkbox tag="low-priority" checkactions=<<uncheck-high-priority>>> Low > Priority</$checkbox> > > Weirdly this works as expected when I try it in the preview pane while > editing the tiddler, but when I save the tiddler it ceases to work. > > Does anyone know what's going on here? > > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1322a731-f8eb-4d1b-a1ae-1a9fa3938d40%40googlegroups.com.

