Click to See Complete Forum and Search --> : Coldfusion CFSELECT Issue


aemciv
02-14-2008, 12:00 PM
What is wrong with this code for a coldfusion flash form?

<cfselect name="linkRealtor" id="linkRealtor" label="What would you like to do?" query="typeRealtor" value="link" display="select" onChange="getURL(linkRealtor.selectedItem.link);"></cfselect>

query

<cfquery name="typeRealtor" datasource="######">
SELECT *
FROM dbo.firmType
</cfquery>

The select text is in the select column and the link is in the link column in the table.

it pulls the select column for the dropdown menu, but when I click the option it returns a relative UNDEFINED in the url. Any ideas?

thanks
Matt