Help for a Clear Button

Please, a chance to get a code to Clear (uncheck) ALL the checkboxes on a Tiddly. Maybe a button.

I try this one but does not work:

Thanks in advance.

@runsy checkbox values can be tags, field’s or even other tiddlers (thus its text field) so to reset them depends on how they were set.

If you were removing every tag you could set the “tags” field to “” with actionsetfield inside a button widget.

You can create a button with multiple actions inside it

<$button tooltip="mouseover message" ... >
<$actionsetfield...
...
Button label
</$button>

But you can also use a list widget to generate a list of actions

<$button >
<$list filter="...">
   <$actionsetfield...
</$list>
Button label
</$button>

Or create an actions macro containing all your actions.

<$button actions=<<youractions-macro>> >
Button label
</$button>

Your linked answer is 13 years old and for TiddlyWikiClassic. …

We first need to know how you create your list. Can you be a bit more specific about it.

-m

1 Like