Hi!
I've got a drop down box that displays the result of a query. There are 2 columns that are displayed. Is there a way of putting columns in the drop down display - so that they're diplayed better?
The box is quite small, is there a way of having the drop down bigger than the box that is clicked by the user?
Thanks
Julie
The query used is:
<cfquery DATASOURCE="#application.dsn#" NAME="riskCodeQuery">
select RISK_CODE, RISK_CODE_DESC
from lookup_risk_code
</cfquery>
and
the coldfusion to display the result is:
<td><select name="RiskCode">
<option value="" SELECTED>-- Select --</option>
<cfoutput query="riskCodeQuery">
<option value="#RISK_CODE#">#RISK_CODE# - #RISK_CODE_DESC#
</cfoutput>
</select></td>
I've got a drop down box that displays the result of a query. There are 2 columns that are displayed. Is there a way of putting columns in the drop down display - so that they're diplayed better?
The box is quite small, is there a way of having the drop down bigger than the box that is clicked by the user?
Thanks
Julie
The query used is:
<cfquery DATASOURCE="#application.dsn#" NAME="riskCodeQuery">
select RISK_CODE, RISK_CODE_DESC
from lookup_risk_code
</cfquery>
and
the coldfusion to display the result is:
<td><select name="RiskCode">
<option value="" SELECTED>-- Select --</option>
<cfoutput query="riskCodeQuery">
<option value="#RISK_CODE#">#RISK_CODE# - #RISK_CODE_DESC#
</cfoutput>
</select></td>