PDA

View Full Version : Having trouble updating my drop down box


Rick7707
12-15-2008, 06:58 PM
New to programming and to ColdFusion, any help would be appreciated.

I'm trying to update a drop down box, but everytime i click update it says the element is undefined.

<cfquery datasource="aa" name="orig_name">
select * from originators
</cfquery>

<td bgcolor="#D4D4D4" align="right" valign="top">
<strong>Originator:</strong></td>

<td bgcolor="#d4d4d4"></td>

<td valign="top" bgcolor="#d4d4d4">
<cfselect name="orig_name">
<option>Select Originator</option>
<cfoutput query="orig_name">
<option value="#originator_name#">#originator_name#</option><br>
</cfoutput>
</cfselect>

Millenia
12-15-2008, 07:18 PM
I moved this topic to the ColdFusion forum.

Also in future, please wrap your code with [code] tags.

Rick7707
12-15-2008, 09:05 PM
Never mind, I figured it out, I had my cfselect name the same as my cfquery name.