I will add, the radio widget could be placed inside a list widget and replace the value and label programaticaly.
Then the card names can be found programaticaly,. such as with a tag etc... I have not tested this recently but believe it would work. Tones On Thursday, 19 November 2020 at 09:32:58 UTC+11 c pa wrote: > The tiddlywiki way is to have the radio buttons set a value into a field > and then display the corresponding card based on the field being populated > > Pseudo code: > > <$radio tiddler=<<currentTiddler>> field="card-state" value="Card-1">Card > 1 </$radio> > <$radio tiddler=<<currentTiddler>> field="card-state" value="Card-2">Card > 2 </$radio> > <$radio tiddler=<<currentTiddler>> field="card-state" value="Card-3">Card > 3 </$radio> > > <$reveal type="match" state="!!card-state" value="Card-1"> > Card 1 content > </$reveal> > > <$reveal type="match" state="!!card-state" value="Card-2"> > Card 2 content > </$reveal> > > <$reveal type="match" state="!!card-state" value="Card-3"> > Card 3 content > </$reveal> > > On Tuesday, November 17, 2020 at 10:27:52 AM UTC-8 Jan wrote: > >> Hi Fans of skeumorph (https://en.wikipedia.org/wiki/Skeuomorph) design. >> >> When trying to enhance my quizcard macro I stumbled upon this codepen >> https://codepen.io/miroot/pen/YXpOGG >> >> The html and css already work in TW http://szen.io/quiz/#Quiz%20Cardstack >> . >> So far I failed trying to translate the syntax to wikitext because the >> radio input makes use of IDs. >> >> How can I solve this with the radiowidget? >> >> Best wishes Jan >> >> >> >> >> >> >> >> -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/cf391183-32d1-4aac-bfaf-41b2b1d128c7n%40googlegroups.com.