|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
help using <cfselect>
so i have a query, and i'd like to display the data in a drop down form using <cfselect>. there are two columns that i'd like to display, Order, and Name. how would I do that? right now i have
Code:
<cfselect name="form" query="getStudents" display="Name" required="Yes" value="ID"> </cfselect> which obviously only displays the Name. how would i display both Order and Name using the same tag? like concatenate the two? can this be done without concatenating in the query itself? thanks! |
|
#2
|
|||
|
|||
|
I don't use cfselect much, but you could just use the standard form <select> tag and output it however you want to.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
|
#3
|
|||
|
|||
|
but wouldnt that involve having some kind of a loop to display each row?
|
|
#4
|
|||
|
|||
|
Yep, just loop over the query and output a select element for each row, and then you can output whatever you need to as the text.
|
|
#5
|
|||
|
|||
|
thanks!!
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > help using <cfselect> |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|