Thank you Jed, this solves my use case. I was unnecessarily complicating things.
Best regards, Hubert On Monday, 10 December 2018 13:05:44 UTC, Jed Carty wrote: > > Same thing, different widget. You can probably make it simpler than this > and this way the you have to either have your form change the state to > remove the revealed text or uncheck the box instead of just clicking > outside it. > > Alternatively you can just use the previous one and style it as a > checkbox. There isn't really much difference functionally between something > that looks like a button and something that looks like a checkbox. > > <$reveal type='match' state='bob!!text' text='show'> > <div style='background-color:pink'> > HELLO!! > </div> > </$reveal> > > <$checkbox checked='show' unchecked='hide' tiddler='bob' field='text'> > Test > </$checkbox> > > > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. 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/3bf51d06-802d-4ae1-a92b-88d7e0157dd3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.