On Monday, February 20, 2017 at 8:22:46 PM UTC-8, Dave wrote:
>
> <$set name=myfield value=myvar>
> <$select field=<<myfield>>>
> <$list filter="[[LumbarKemps]get[plist]]">
> <$list filter=<<currentTiddler>>>
> <option value=<<currentTiddler>>><$text text=<<currentTiddler>>/></option>
> </$list>
> </$list>
> </$select>
> </$set>
>
> The way this currently works is that it gets the list of options from the 
> field "plist" in the tiddler [[LumbarKemps]], and whatever is selected in 
> the dropdown list is put into the field "myvar", but its set in the 
> *current tiddler*.
>
> I've been trying to change it so that it sets into the field "myvar" in 
> the [[LumbarKemps]] tiddler, by replacing one of the <<currentTiddler>> 
> instances with "[[LumbarKemps]]", but none of it works.
>

Try this:

<$set name=myfield value=myvar>
<$select tiddler="LumbarKemps" field=<<myfield>>>
<$list filter="[[LumbarKemps]get[plist]]">
<option value=<<currentTiddler>>><$text text=<<currentTiddler>>/></option>
</$list>
</$select>
</$set>

1) Add tiddler="LumbarKemps" to the $select widget
2) The inner <$list filter=<<currentTiddler>>> is not needed.

enjoy,
-e
Eric Shulman
TiddlyTools: Small Tools for Big Ideas (tm)
InsideTiddlyWiki: The Missing Manuals 

-- 
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/79ec190b-29b3-4c33-b911-25cc3c0bb3aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to