I think something is not right in my code. if there is one value in
variables.otherfundingsourceholder, it works, but if it has more than one
value, it doesn't
<cfset variables.otherfundingsourceholder = "159, 20">
The list of values in bqry01.index_id is 2,159,20,21,27,97,28,29,121,93,32
<select id="otherfundingsource" name="otherfundingsource" multiple>
<option value = "" <cfif variables.otherfundingsourceholder EQ "">
selected="selected"</cfif>>
<cfoutput query="bqry01">
<option value="#bqry01.index_id#" <cfif
variables.otherfundingsourceholder
contains bqry01.index_id> selected="selected"</cfif> />#bqry01.testdata#
</cfoutput>
</select>


|