Hi I wrote a number of button widgets some time ago for the beta versions of TW5 which address the problem you are having -- they may be found here: http://gwiz.tiddlyspot.com/
Their functionality has largely been superseded with the new action widgets -- especially once the forthcoming ActionSetfieldWidget widget of version 5.1.5 is included. I have delayed updating my button widgets as I do not see any need to duplicate the functionality now included with action widgets. Once I have experimented with the action widgets, I might update and modify my widgets to address any missing functionality and synchronise their mechanism with action widgets. regards On Saturday, November 1, 2014 11:25:22 AM UTC+2, Michael wrote: > > Is there a way to assign several different actions to a button? > > Example: Clicking a button sets field value y to y1 but also sets field > value x to x2 (would come very handy for self-made popups that close after > use) > > Another example that I do not get to work: Create a new tiddler with title > x, fields + values x, y, z plus tags x, y, z. I know that this is possible > by using a template tiddler (essentially cloning the template), but if the > template tiddler does not exist, an empty tiddler is created instead. > > These are two use cases that I cannot get to work! > > Thanks again for your help! > Michael > > On Monday, June 30, 2014 4:07:22 PM UTC+2, Michael wrote: >> >> Thanks so much, Matabele and Stephan! You made my day! >> >> Best regards, >> Michael >> >> >> >> On Monday, June 30, 2014 7:17:10 AM UTC+2, Matabele wrote: >>> >>> Hi Michael >>> >>> I have written a set of widget plugins to enhance the functionality of >>> buttons -- they may be found here: http://gwiz.tiddlyspot.com/ >>> >>> The example given for the <$maketid> widget sounds similar to your usage >>> case, but there are a number of ways of achieving this -- have a look at >>> the demos for ideas. >>> >>> Values from fields in the current tiddler may be accessed with the >>> syntax: >>> >>> attribute={{!!field-name}} >>> >>> This syntax refers to the value of a field in the current tiddler -- to >>> access the value of a field in another tiddler, use this syntax: >>> >>> attribute={{TiddlerTitle!!field-name}} >>> >>> regards >>> >>> On Monday, June 30, 2014 12:32:03 AM UTC+2, Michael wrote: >>>> >>>> Hi ruddb, Stephan, >>>> >>>> I seem to have a similar problem: I want to create a template with a >>>> 'new tiddler' button. The value for param should come from a field in the >>>> calling tiddler. I am not very experienced with the TW5 syntax, so in my >>>> naiveté I tried param={!!field}, but this does not work. I also tried to >>>> use Stephan Hradeks newtiddler plugin, using <$set> to set the values of >>>> tags and fields in the new tiddler, but if I want to do that dynamically >>>> using fields of the calling fiddler, I fail. >>>> >>>> How do you get it to work? >>>> Michael >>>> >>>> On Friday, March 7, 2014 10:14:58 AM UTC+1, ruddb wrote: >>>>> >>>>> Hi Stephan, >>>>> >>>>> Trying it now and it works great! I was a bit hesitant to use some >>>>> plugins because of bad experience from D3 to TW5 migration so I want to >>>>> try >>>>> to use core functions. Do you now if this widget type will go to the >>>>> official release? >>>>> >>>>> Thanks again. >>>>> >>>>> On Friday, March 7, 2014 12:33:10 PM UTC+7, Stephan Hradek wrote: >>>>>> >>>>>> Did you see http://tiddlystuff.tiddlyspot.com >>>>>> Search for Newtiddler Widget. >>>>>> >>>>> -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

