Hi,
I took your latest version, and did some changes. I think the problem is
that you were setting the fields in the BMIS_Scale tiddlers, not in the
BMIS_Recording one, so you have multiple fields with the same name in
multiple tiddlers.
With the proposal below, all the radio buttons in the same row apply to the
same field and thus only one value can be set at a given time.
<$set name="thisTiddler" value=<<currentTiddler>> >
<table>
<tr><td></td><td>XX</td><td>X</td><td>V</td><td>VV</td><td>val</td></tr>
<$list
filter="[!has[draft.of]prefix[BMIS]!tag[BMIS_Scale]!title[BMIS_Scale]!title[BMIS_Recording]sort[title]]"
variable="item">
<tr>
<td><$link to=<<item>>> <<item>> </$link></td>
<$list filter="[tag[BMIS_Scale]]">
<td><$radio tiddler=<<thisTiddler>> field=<<item>>
value={{!!title}}></$radio></td>
</$list>
<td><<item>> = <$view field=<<item>> /></td>
</tr>
</$list>
</table>
</$set>
Anyway, I think you want this expression to be a template, so that you can
record this mood states for different people. In this case, you need to
enclose all the above in a condition, add the tag $:/tags/ViewTemplate and
use the tag BMIS_Record in each tiddler where you record the mood
information for each person (You can choose a tag different to BMIS_Record,
just change the tag name in the filter of the $list condition below.
<$list filter="[all[current]tag[BMIS_Record]]">
(... code above ...)
</$list>
If you want more details about this latter part, please check
http://tobibeer.github.io/tb5/#Conditional%20ViewTemplate%20Section
Regards,
Julio
--
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/9efc6f8e-0c75-4377-bbae-87e3cd0627f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.