Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > ColdFusion > preserving mult...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 1625 of 1695
Post > Topic >>

preserving multiple values

by "handersonVA" <handersonVA@[EMAIL PROTECTED] > Nov 7, 2006 at 01:35 AM

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>
 




 1 Posts in Topic:
preserving multiple values
"handersonVA" &  2006-11-07 01:35:49 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 19:33:49 CDT 2008.