I believe that this is how cfselect works by default. What you will need to
do is to use a regular select tag, having the first option tag as the blank,
make sure that it is selected by default, then put the next option tag in a
cfoutput.

----- Original Message -----
From: "Parker, Kevin" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, January 05, 2003 6:25 PM
Subject: CFSELECT


> I'm using CFSELECT to dynamically populate a drop down. The issue I have
is
> that I want to create a blank one so that users don't just leave it and
> select the one at the top of teh lsit all the time by default. You can
> create a blank entry in the drop down by adding  <option> between the
> CFSELECT tags as below. The trouble with this is that its always at the
> bottom of the dropdown. Is there a way to get it at the top of the
dropdown
>
> <cfselect name="LocationID" message="Please select a location where this
> position is being offered" query="GetLocations" value="LocationID"
> display="Location" required="yes">
> <option value = "" selected></option>
> </cfselect>
>
> TIA!!!
>
>
>
> **********
>
> Kevin Parker
> Web Services Manager
> WorkCover Corporation
>
> [EMAIL PROTECTED]
> www.workcover.com
>
> p: 08 82332548
> f: 08 82332000
> m: 0418 806 166
>
> **********
>
>
>
> ************************************************************************
> This e-mail is intended for the use of the addressee only. It may
> contain information that is protected by legislated confidentiality
> and/or is legally privileged. If you are not the intended recipient you
> are prohibited from disseminating, distributing or copying this e-mail.
>
> Any opinion expressed in this e-mail may not necessarily be that of the
> WorkCover Corporation of South Australia. Although precautions have
> been taken, the sender cannot warrant that this e-mail or any files
> transmitted with it are free of viruses or any other defect.
>
> If you have received this e-mail in error, please notify the sender
> immediately by return e-mail and destroy the original e-mail and any
> copies.
> ************************************************************************
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to