I want to create a table to record the BMIS (brief mood introspection scale 
- a psychological tool). This is a set of 16 emotional  items, for which 
you record one of four graded responses.
For example, for the emotion "Happy", you record XX, X, V, or VV (these 
represent how strongly you feel that emotion). I want to include this table 
in a journal skeleton, so that clicking radio buttons will set a field for 
each of the 16 items with one of the four values.

I could create this table manually, but that would be tedious and involve 
lots of copying, pasting and changing. Here's what that would look like:

|      |XX  X  V  VV|
|Lively|<$radio field="BMIS-Lively" value="XX"></$radio> <$radio field=
"BMIS-Lively" value="X"></$radio> <$radio field="BMIS-Lively" value="V"></
$radio> <$radio field="BMIS-Lively" value="VV"></$radio>|<$view field=
"BMIS-Lively"/>|
|Happy |<$radio field="BMIS-Happy" value="XX"></$radio> <$radio field=
"BMIS-Happy" value="X"></$radio> <$radio field="BMIS-Happy" value="V"></
$radio> <$radio field="BMIS-Happy" value="VV"></$radio>|
etc

So rather than that I want to try to do it using nested lists to generate 
the table. I'm stuck though.

I've created 16 tiddlers for the emotions, in the form BMIS_01_Lively, 
BMIS_02_Happy etc. (List A)
I've created 4 tiddlers for the grading, in the form BMIS_XX etc (List B)

The rows are based on the tiddlers in List A. The columns are based on the 
tiddlers in List B. For each item in List A, I want to show 4 radio 
buttons, representing 4 possible values. The buttons would set a field with 
the same name as the title of the row tiddler with the chosen value.

Here's what I have (see 
http://mjp-tw5-test.tiddlyspot.com/#BMIS%20Recording):

<table>
<$list 
filter="[prefix[BMIS]!title[BMIS_Scale]!tag[BMIS_Scale]!each[title]]">
<tr>
<td>
<$view field="title"/>
</td>
<$list filter="[tag[BMIS_Scale]]">
<td><$radio field="TITLE OF TIDDLER IN FIRST LIST" value="TITLE OF TIDDLER 
IN THIS LIST"></$radio></td></$list></tr></table></$list>

How can I get the title of the parent tiddler in the nested list? Also, how 
do I get the table to format correctly?











-- 
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/06b82b4b-fc99-409b-95e8-fb49c4e036a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to