created: 20201130181015815 modified: 20201130183426619 tags: RadioWidget title: RadioWidget Example type: text/vnd.tiddlywiki \define newText() value: $(actionValue)$ \define radioActions() <$action-sendmessage $message="tm-notify" $param="RadioWidget ExampleTemplate" value=<> current=<> /> <$action-createtiddler $basetitle="$:/temp/test/value" $overwrite="yes" text=<>/> <$action-navigate $to="$:/temp/test/value"/> \end !! Using Actions If you select an option, the value is written to $:/temp/test/value and the ''id'' field of tiddler: $:/temp/test will be updated. A notification showing the ''actionValue'' will be shown. <$tiddler tiddler="$:/temp/test"> <$radio field="id" value="a" actions=<> > Option a | <$radio field="id" value="b" actions=<> > Option b | <$radio field="id" value="c" actions=<> > Option c | ---
Show the code [[RadioWidget Example]]
<$view mode=text&>