Try switching the placement of the </cfoutput></option> tags to
</option></cfoutput>.

Shelley 

-----Original Message-----
From: Steve LaBadie [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 28, 2006 8:46 AM
To: CF-Talk
Subject: <cfselect> in CF Flash Form

I have a CF Flash form with a <cfselect> populated through a DB, but it
doesn't populate.  What I'm I doing wrong?

 

<cfquery name="gettype" datasource="samples">

Select * 

FROM member_type 

ORDER BY type

</cfquery>

 

<cfform format="flash" name="RealEstateAdmin" width="500">

<cfformgroup type="panel" label="Ask ESU" height="400">

 

<cfselect name="typeID" label="Select:">

<option value="" selected="selected">Select Department</option>   

<cfoutput query="gettype"><option value="#typeID#"
>#type#</cfoutput></option>

</cfselect>

 

<cfinput type="text" name="firstName" label="First Name:">

<cfinput type="text" name="lastName" label="Last Name:">

<cfinput type="text" name="email" label="Email:">

<cfinput type="text" name="confirm" label="Confirm Email:">

<cftextarea cols="30" rows="5" name="comments"
label="Comments:"></cftextarea>

<cfinput type="submit" name="submit" value="Ask">

</cfformgroup> 

</cfform>

 

Steve LaBadie, Web Manager
East Stroudsburg University
200 Prospect St.
East Stroudsburg, Pa 18301
570-422-3999
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
http://www.esu.edu <http://www3.esu.edu> 

 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:248014
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to