Go Back   CodingForums.com > :: Server side development > Other server side languages/ issues > ColdFusion

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-15-2008, 05:58 PM   PM User | #1
Rick7707
New to the CF scene

 
Join Date: Dec 2008
Location: Houston, TX
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Rick7707 is an unknown quantity at this point
Having trouble updating my drop down box

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>
Rick7707 is offline   Reply With Quote
Old 12-15-2008, 06:18 PM   PM User | #2
Millenia
Open Source Zealot

 
Join Date: May 2008
Location: Lost in Localhost...
Posts: 702
Thanks: 3
Thanked 43 Times in 42 Posts
Millenia is on a distinguished road
I moved this topic to the ColdFusion forum.

Also in future, please wrap your code with [code] tags.
Millenia is offline   Reply With Quote
Old 12-15-2008, 08:05 PM   PM User | #3
Rick7707
New to the CF scene

 
Join Date: Dec 2008
Location: Houston, TX
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Rick7707 is an unknown quantity at this point
Never mind, I figured it out, I had my cfselect name the same as my cfquery name.
Rick7707 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:49 AM.


Advertisement
Log in to turn off these ads.