Hey guys!
As a beginner, I’m having trouble building a tiddler using $radio to “add” and not just “replace” tags in the Current Tiddler. Below is the code that I imagine to be the starting point to perform such a task.
<$radio field="tags" value="1 a M"> a) item-1</$radio><br>
<$radio field="tags" value="1 b M"> b) item-2</$radio><br>
<$radio field="tags" value="1 c M"> c) item-3</$radio><br>
DIFFICULTY:
- This code works fine in TiddlyWiki 5.2.7, but it just replaces the “current tags” with the “new tags” in each $radio. How do I add the “new tags” to the Current Tiddler and not simply “replace” the “old tags”?
QUESTIONS:
-
Is there somewhere in the TiddlyWiki documentation that I can delve deeper into the question (link)? I’ve looked a lot in the documentation, but I couldn’t find anything that helps me.
-
How would the code be adapted to add “dynamic tags” conditioned to the $radio (is it possible)?
-
How to replace the literal “1 c M” in the code with a global variable?
<$radio field="tags" value="1 c M">
Why a NewTags variable (or something similar), so that the content of NewTags is dynamic and not static?
- Is there a simpler way to do this?
Thanks in advance for everyone’s attention!