Hello Aaron, Unless things have changed (and not been documented) you can't do that with radio buttons. But there's ways to make a regular button that looks like a radio button. See the post
"How do I create two fields at once with one radio button? <https://groups.google.com/forum/#!msg/tiddlywiki/XlkKA4WDbDo/cmSnu3gEAQAJ;context-place=forum/tiddlywiki>" Scroll to the end. I think Matabele's solution might do what you want. Good luck, Mark On Thursday, June 1, 2017 at 8:31:11 PM UTC-7, Aaron Haslem wrote: > > Greetings, > This is my first post to this group. I only recently found TW and I am > finding it to be an incredible tool for creating a dynamic map of a system > I work with. > > Here's the question: We have several hundred units that are all very > similar in type and function that are assigned to different locations. I > want users to be able to create a new tiddler based off of a template. I > am using tabs within a basic tiddler to display the detailed information... > Anyhow, I am using the Radio widget to list options for each unit. For > example: a unit can be assigned to Box 1, Box 2, Box, 3, Box 4 or Box 5, > but only 1 box and if it is assigned to a box it can't be assigned to any > of the other boxes...a Radio Button. The widget works great. > > But, I also use the tags of a unit in another tiddler to list all of the > units that are in a particular box. If I have 50 units that users have > used the radio buttons to say those units are in Box 1, I then use a tag > on that unit to list in another Tiddler called Box 1... > > What I would like to do is, if a user selects Box 1 in the Radio Buttons, > the action would also create a tag for that unit that indicates the tiddler > is associated with Box 1. > > I get it to work with the checkbox widget: > <$checkbox field="box" checked='[[Box 1]]' tag="Box 1"> Box 1</$checkbox> > The tag gets added to the tiddler when the box is checked but, this means > that a user can check all available boxes. > > The radio button allows me to limit them to only selecting one box. I > tried this: > <$radio field="box" value='Box 1' tag="Box 1"> Box 1</$radio> > <$radio field="box" value='Box 2' tag="Box 2"> Box 2</$radio> > > The field is filling in correctly, but I can't figure out how to get it to > create a tag when the button is selected. > > Is there a way to get the radio widget to create a tag? > -- 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/435c5519-4981-4bb6-b837-7cac77924e59%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

