Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Dec 2008
    Location
    Houston, TX
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts

    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>

  • #2
    Regular Coder
    Join Date
    May 2008
    Location
    Lost in Localhost...
    Posts
    702
    Thanks
    3
    Thanked 43 Times in 42 Posts
    I moved this topic to the ColdFusion forum.

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

  • #3
    New to the CF scene
    Join Date
    Dec 2008
    Location
    Houston, TX
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Never mind, I figured it out, I had my cfselect name the same as my cfquery name.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •