Thanks for all the answers. I should have mentioned at the start that I've read through the documentation prior to posting.
Apologies for getting into too much detail, it appears to me that I wasn't really clear why I'm asking all these convoluted questions ;). In short, I want to be able to invoke a popup *on checking a checkbox* instead of on pressing a button. Is that possible? Thanks, Hubert On Monday, 10 December 2018 11:59:43 UTC, BurningTreeC wrote: > > > A follow-up question, what is the number array being written to the >> referenced state tiddler on button press that results in the popup being >> invoked? >> >> For reference, the documentation of the set-field action widget here >> <https://tiddlywiki.com/static/ActionSetFieldWidget.html> includes >> writing to a state tiddler for the popup to be rendered correctly (please >> see the second example). The example also includes an array of numbers, >> although different from mine (obviously): >> >> text="(568,1443,33,39)". What is that number? >> >> > Hi Hubert, the numbers are sort-of relative coordinates of the button that > opens the popup > They're used internally by the popup mechanism to position the popup > above/below/leftbelow... the triggering button > > >> Many thanks, >> Hubert >> >> >> On Monday, 10 December 2018 09:44:52 UTC, Hubert wrote: >>> >>> Hello, >>> >>> Is it possible to invoke a popup by clicking on a checkbox? Or, >>> alternatively, to invoke a popup when the content (text parameter) of the >>> reveal widget matches a value? >>> >>> When I tested the documented use with the button, I've found that by >>> pressing the button invoking the popup, TiddlyWiki writes an apparently >>> random array of numbers to the state tiddler, such as: (43,109,93,23). >>> >>> However, when I tried to match this number by manually populating the >>> state tiddler, the reveal widget did not invoke the popup. Now, I'm aware >>> that the reveal widget type=popup does not really check for content to >>> match but I was just wondering if anyone could share some more information >>> about the internals of the popup mechanism, what's really happening on >>> pressing the button and how much more flexibility is allowed when using >>> popups with the reveal widget. >>> >>> What I'm trying to implement is a 'confirm dialog' in a popup that would >>> ask the user whether they really want to perform a deletion (buttons would >>> be displayed in the popup invoked). >>> >>> Many thanks for your input. >>> >>> Best regards, >>> Hubert >>> >>> -- 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 post to this group, send email to [email protected]. 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/64821539-9aa0-4ff2-9d7f-2df230c698f9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

