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?


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/ee670c96-2d48-4f65-9889-32f6f8071744%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to