I'm trying to convert a macro that selects from a list that resides in a field:
\define sometest(testname,testfield) <$set name=subtest value=$testfield$> <$select tiddler="$testname$" field=<<subtest>>> <$list filter="[[$testname$]get[plist]]"> <$list filter=<<currentTiddler>>> <option value=<<currentTiddler>>><$text text=<<currentTiddler>>/></option> </$list> </$list> </$select> </$set> \end <<sometest LumbarKemps ips>> to a similar one that takes the list of possibilities from a dictionary tiddler: \define sometest2(testname,testfield) <$set name="tests" value="testDictionary"> <$set name="subtest" value=$testfield$> <$select tiddler="$testname$" field=<<subtest>>> <$list filter="[<tests>indexes[]sort[title]]"> <$list filter=<<currentTiddler>>> <option value=<<currentTiddler>>><$text text=<<currentTiddler>>/></option> </$list> </$list> </$select> </$set> \end ---- <<sometest2 LumbarKemps ips>> but the problem is the select widget takes the name of the pair instead of the value of the pair ---- in the original, the fieldname is plist and its value is a list of the options shown in the select box (same as the value of the value pair below) in the dictionary version, the pair is LumbarKemps: neg [[thoracic pain]] [[lumbar pain]] [[sacroiliac pain]] [[gluteal pain]] [[ischial pain]] [[thigh pain]] [[knee pain]] [[leg pain]] Does anyone know how to get the actual list into the select widget instead of the name of the pair? Thanks, Dave -- 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/c18c49ba-7d93-40e1-be69-2c7d2ef35ba1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

