<$list filter="[tag[Some Tag]has[Some Field]"/>{{!!Some Field}}</$list>I'm trying to make a list of all the values of a specific field "Some Field", for all tiddlers (probably not system or shadow tiddlers, but with and without would be interesting) tagged with "Some Tag".
{{{ [tag[WikiText]each[caption]get[caption]sort[title]] }}}<$list filter="[tag[some field]has[field_name_1]]"/>$:/tags/EditTemplate
$:/core/ui/EditTemplate/body<$list filter="[all[current]tag[some field]]">
field_name_1: <$select field="field_name_1">
<option value=''></option>
<option>value 1</option>
<option>value 2</option>
<option>value 3</option>
</$select>
field_name_2: <$select field="field_name_2">
<option>default value</option>
<option>
{{{ [tag[some field]each[field_name_2]get[field_name_2]sort[title]] }}}
</option>
</$select>
</$list><option>
{{{ [tag[some field]each[field_name_2]get[field_name_2]sort[title]] }}}
</option>
part just concatenates all the field values into a single line with no spaces, rather than a list of separately selectable options, that I was hoping for.
Where might I have gone wrong?
Thank you, Bob
The<option>
{{{ [tag[some field]each[field_name_2]get[field_name_2]sort[title]] }}}
</option>
part just concatenates all the field values into a single line with no spaces, rather than a list of separately selectable options, that I was hoping for.
Where might I have gone wrong?
Thank you, Bob
<$list filter="[tag[some field]each[field_name_2]get[field_name_2]sort[title]]">
<option>
<$view field="title"/>
</option>
</$list>
Hello Evolena,
Most of my TW5 belongs to you!
Do you have stuff on TiddlySpot that I might scrutinize?
You can also use <<currentTiddler>> instead of the view widget.
<$list filter="[tag[TableOfContents]]">
<<currentTiddler>>
</$list>
<$list filter="[tag[TableOfContents]]">
{{!!title}}
</$list>
<$list filter="[tag[TableOfContents]]">
<$view field="title"/>
</$list>
<$list filter="[tag[TableOfContents]]">
<$text text=<<currentTiddler>>/>
</$list>
<$list filter="[tag[TableOfContents]]">
<$text text={{!!title}}/>
</$list>