Hi!
I have a combo box that when clicked shows the code and description of 10 items. However, once a selection is made i need only the code NOT the description to populate the box... does anyone know how i can do this??
ColdFusion Code:
<td>Risk Code:</td>
<td><select type="text" name="riskCode">
<option value="" SELECTED>-- Select --</option>
<cfoutput query="riskCodeQuery">
<option value="#RISK_CODE#">#RISK_CODE# - #RISK_CODE_DESC#
</cfoutput>
</select>
</td>
Thanks
Julie
I have a combo box that when clicked shows the code and description of 10 items. However, once a selection is made i need only the code NOT the description to populate the box... does anyone know how i can do this??
ColdFusion Code:
<td>Risk Code:</td>
<td><select type="text" name="riskCode">
<option value="" SELECTED>-- Select --</option>
<cfoutput query="riskCodeQuery">
<option value="#RISK_CODE#">#RISK_CODE# - #RISK_CODE_DESC#
</cfoutput>
</select>
</td>
Thanks
Julie