Question
CFSelect Display Problem
Hi,
I'm trying to create a cfselect using a bind. I would like to use 2 or more query columns in the "display" space of each select item. Here is my code:
<cfselect name="residents"
bind="cfc:cnyapps.Components.patientProperty.findOnlySotpResidents()"
bindonload="true" value="case_num" display="lname">
</cfselect>
I would like to display the last name (lname) AND the first name (fname), not just the last name (lname).
I would need something like display="lname,fname". Everything i have tried has come up with an error message.
How can this be done?
I'm trying to create a cfselect using a bind. I would like to use 2 or more query columns in the "display" space of each select item. Here is my code:
<cfselect name="residents"
bind="cfc:cnyapps.Components.patientProperty.findOnlySotpResidents()"
bindonload="true" value="case_num" display="lname">
</cfselect>
I would like to display the last name (lname) AND the first name (fname), not just the last name (lname).
I would need something like display="lname,fname". Everything i have tried has come up with an error message.
How can this be done?
