In sort [all[current]get[fieldname]] for current tiddler, [all[current]each[fieldname]get[fieldname]] for one of each existing values (if relevant) from all tiddlers.
the search operator also says [search:<field list>:<flag list>[<operand>]] eg [search:title,caption:literal,casesensitive[The first]]
The easiest selection drop down in the select widget; eg select from existing values.
<$select field=fieldname>
<$list filter='[all[shadows+tiddlers]each[fieldname]get[fieldname]] [[value1]] [[value2]] +[sort[]]'>
<option value=<<currentTiddler>>><$view field='title'/></option>
</$list>
<option value="" >(clear)</option>
</$select>
- The above includes a clear value
- You could add
+[sort[]]at the end of the filter - You could add
[[value1]] [[value2]]before/after the sort for always available options
Perhaps explain what you are after a little more ands/or start a new thread.