This is just how dropdowns work.  You need to add a blank element at the
beginning.  I usually do it manually like this:

<select name="somename">
        <option value=""></option>
        <cfloop>
                <!-- more options here -->
        </cfloop>
</select>

Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE  68154
http://www.cfwebtools.com
402-408-3733 x103
-----Original Message-----
From: Richard White [mailto:[email protected]] 
Sent: Tuesday, September 22, 2009 11:04 AM
To: cf-talk
Subject: drop down box


hi 

we want to have a drop down box on a form that has attribute 'required' and
a message that displays if no value is select when the form is submitted

however, using cfselect automatically makes the first option selected, but
we want the user to physically select an option

how can we code it so that no option is automatically selected when the page
loads?

thanks 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326491
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to