Thanks for your response. Following your example, I made some changes to clarify the issue I'm getting. I changed the field value to "Some Results" and the token value when no results are returned to be "No Results". When I run the dashboard, the default value first populates with "No Results" but when I hit F5 (refresh) on the dashboard, it populates correctly with "Some Results".
Also, on some other attempts, the default value populates as $result.field$ so neither "No Results" or "Some Results".
Any ideas on how to make this populate correctly when first opening the dashboard?
<form>
<label>Multiselect Default Value using token</label>
<search>
<query>| makeresults
| fields - field
| eval field="Some Results"
| table field
</query>
<done>
<condition match="$job.resultCount$==0">
<set token="field_token">"No Results"</set>
</condition>
<condition>
<set token="field_token">$result.field$</set>
</condition>
</done>
</search>
<fieldset submitButton="false">
<input type="multiselect" token="tokMultiSelect" searchWhenChanged="true">
<label></label>
<choice value="static">Static Option</choice>
<delimiter> </delimiter>
<default>$field_token$</default>
</input>
</fieldset>
<row>
<panel>
<html>
<div>
MultiSelect Value: $tokMultiSelect$, Populating Search Value: $field_token$
</div>
</html>
</panel>
</row>
</form>
... View more