Tinderbox Forum

Click “checked” and note title changes color

Newbie question: I have used a prototype to define “checked” as a key attribute for a set of notes. Now I’d like the note titles to change color once I click the box for “checked.” How would I do that?

To set a note’s colour to “red” when the note is ticked, set its $Rule to:

if($Checked){$Color="red";}

If you want it set to the default colour if not ticked (that colour may be the doc default or inherited via a prototype) then use:

if($Checked){$Color="red";}else{$Color=;}

Perfect. Thank you!

1 Like