Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Getting Started / June 2005



Tip: Looking for answers? Try searching our database.

coldfusion drop down lists

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
zach1023 - 28 Jun 2005 03:47 GMT
i am trying to build a page with two drop down lists.  one with user ids,
pulling the list of ids from form variables.  the other lists is projects, also
pulling values from form variables.

how should i go about populating the drop down boxes with the desired info. as
stated above.

any suggestions would help.
Ken Ford - *TMM* & PVII - 28 Jun 2005 06:17 GMT
Either of these methods should work.

<select name="UserID" id="UserID">
<cfoutput query="rsUsers">
<option value="#rsUsers.UserID#">#rsUsers.UserName#</option>
</cfoutput>
</select>

<cfselect
   name="ProjectID"
   id="ProjectID"
   query="rsProjects"
   value="ProjectID"
   display="ProjectName">
</cfselect>

Signature

Ken Ford
PVII Support Team
http://www.projectseven.com
Team Macromedia Volunteer - Dreamweaver
Certified Dreamweaver MX 2004 Developer

>i am trying to build a page with two drop down lists.  one with user ids,
> pulling the list of ids from form variables.  the other lists is projects, also
[quoted text clipped - 4 lines]
>
> any suggestions would help.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.