Show/Hide a button

50 views
Skip to first unread message

Bob Jansen

unread,
Oct 9, 2020, 12:25:29 AM10/9/20
to TiddlyWiki
I would like to show/hide a button depending on the value of a variable of a tiddler. I see the reveal widget would do this but how can I set the state variable tiddler on the display of the target tiddler? I have tried action-setfield but this needs to be activated by a button.

Anyone got any pointers how to achieve my show/hide?

bobj

Bob Jansen

unread,
Oct 9, 2020, 7:11:37 AM10/9/20
to TiddlyWiki
I sorted it out. I misunderstood the scope of the state tiddler. It can be the current tiddler and use of a field value makes the test simple.

bobj

Reply all
Reply to author
Forward
0 new messages