Hi Mans Don't know exactly what you need, but my <$setfield> widget was designed to fill the requirement to do several things with one button -- you can try it our here: http://gwiz.tiddlyspot.com/
One suggestion is to re-write the 'text' field with: ... <$fieldset tiddler="other-target" set="!!text" setTo="other-content" <$setfield tiddler="target" set="!!text" setTo="your-content"> <$button message="tw-set-field">Set</$button> </$setfield> </$fieldset> ... The widgets can be stacked to set a field of several tiddlers (and/or to set several fields of one tiddler), with one button. regards On Thursday, May 29, 2014 3:20:21 AM UTC+2, Måns wrote: > > Hi TwWizards > > A possible workaround for my "button state problem": > > How do I make a "reset" button for closing all 6 buttons at once? > I would be happy with a button which should toggle the text from hide to > show in > $:/Hit1State, $:/Hit2State, $:/Hit3State, $:/Hit4State, $:/Hit5State > and $:/Hit6State - to one/the same state - either show or hide - all at > once. > > Cheers Måns Mårtensson > > Den mandag den 26. maj 2014 00.12.57 UTC+2 skrev Måns: >> >> I would also like to be able to set the statevalue of the buttons in >> autogenerated systemtiddlers with individual names individually created >> from the titles of each quiz sentence/tiddler... >> >> eg: "$:/Hit1State" should be sth. like "$:/Hit1StateTiddlerTitle"... >> >> If I can't do this all words in button 1 in every tiddler will get >> revealed when I click one of them - and I can't have them all open at the >> same time eg in a substory list ... >> >> .... >> >> >> Den søndag den 25. maj 2014 23.44.12 UTC+2 skrev Måns: >>> >>> Hi cmari >>> >>> I want to create a quiz battle between two teams, where one team chooses >>> a number/button - the teacher clicks it - and a word from a full sentence >>> gets revealed. >>> If the word isn't red the team will try to guess/remember the full >>> sentence. >>> If the word is red - the other team will have a go at it - or choose yet >>> another number/button... >>> >>> When I set up the quiz I want to be able to choose which field value is >>> formatted as red text. >>> >>> >>> My attempt http://hitsang.tiddlyspot.com >>> >>> Here "mark" is "skift" >>> >>> As you can see : >>> <$list filter="[skift[1]]"><span class="red"><$view >>> field="1"/></span></$list><$list filter="[!skift[1]]"><$view >>> field="1"/></$list> >>> >>> shows both versions of the text value of the field "skift" (both black >>> and red) - and if you set the value of the field "skift" to anything other >>> than "1" - the text is hidden... >>> >>> There must be something wrong somewhere ...? >>> >>> Cheers Måns Mårtensson >>> >>> Den søndag den 25. maj 2014 23.21.11 UTC+2 skrev cmari: >>>> >>>> Hi >>>> >>>> Hi Måns, >>>> Maybe I don't understand what you're doing, but the following seemed to >>>> work for me: >>>> >>>> <$list filter="[!mark[1]]"><$view field="1"/></$list> >>>> cmari >>>> >>>> >>>> On Sunday, May 25, 2014 2:11:33 PM UTC-7, Måns wrote: >>>>> >>>>> <$list filter="[!field:mark[1]]"><$view field="1"/></$list> also >>>>> doesn't work... >>>>> I expected that it would show the text value of my field "1" if the >>>>> field "mark" had another value than "1"... >>>>> >>>>> Cheers >>>>> >>>>> Den søndag den 25. maj 2014 22.42.36 UTC+2 skrev Måns: >>>>>> >>>>>> Made a typo - sorry >>>>>> >>>>>> >>>>>>> How do I create the opposite effect? - sth like when the value of >>>>>>> the field "mark" is not 1 - then show value og field one (no class)? >>>>>>> >>>>>> >>>>>> should have been: >>>>>> >>>>>> How do I create the opposite effect? - sth like when the value of the >>>>>> field "mark" is not 1 - then show value of field one (no class)? >>>>>> >>>>>> <$list filter="![mark[1]]"><$view field="1"/></$list> (doesn't work) >>>>>> >>>>>> Cheers Måns Mårtensson >>>>>> >>>>> -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.