I don't use cfselect but I'd guess it's a case of putting the <option
value="">...</..> at the top of the select. Sorry if I've got it totally
wrong but try that and let us know.

Ade :O)
  -----Original Message-----
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: 23 March 2004 21:03
  To: CF-Newbie
  Subject: cfselect :: default selected item shows up last

  I'm using cfselect to create a pull-down list from a query, of all the
  company names in a database.

  I'd like the default to be an option with a null value, with the label "
  --SELECT A COMPANY--".

  I did this by sticking this inside my CFSELECT <option value="" selected
  ="true">--Select a Company--</option>

  It works fine, but when you click on the form object and the list opens,
  this option is listed last, I'd like it to appear up top, is there a way
to
  force this?

  Paul Colombo
  Multimedia Programmer
  webLearning.com
  w: 973.227.4455
  c:  201.819.9027
  f:  973.227.8412
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to