Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I put "select one" line in CFSELECT apart from data CFQERY

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
How can I to put "select countries" line in the select drop-down, apart from the data coming from the CFQUERY(which i associated with CFSELECT)?

 
There's not really a way that I can think of, but this does the same thing:

<CFFORM NAME=&quot;myForm&quot;>
<CFSELECT NAME=&quot;countries&quot;>
[COLOR=000080][COLOR=CC3300]<OPTION VALUE=&quot;0&quot;>[/color][/color]select countries
<CFOUTPUT QUERY=&quot;qCountry&quot;>
[COLOR=000080][COLOR=CC3300]<OPTION VALUE=&quot;#countryID#&quot;>[/color][/color]#countryName#
</CFOUTPUT>
</CFSELECT>
</CFFORM> - tleish
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top