This is from the documentation

attributes: selected(Optional) -  A list of option values to preselect
in the selection list. This attribute applies only if list items are
generated from a query. The cfform preservedata attribute value can
override this value.

----- Original Message -----
From: CF Coder2 <[EMAIL PROTECTED]>
Date: Wed, 18 Aug 2004 14:14:33 -0400
Subject: CFSELECT selected parameter
To: CF-Talk <[EMAIL PROTECTED]>

Sorry if this has been discussed but I'm finding that in the following
CFSELECT code, the "selected=8" parameter has no bearing on the
default pulldown that's selected when the page is visited.  It appears
to basically be broken and a useless parameter.  Have others seen
this? Or is this a pilot error?

  <cfselect name="selectMon" selected="8" required="yes"
message="Please select a month for Call Date">
  <option value="1">Jan</option>
  <option value="2">Feb</option>
  <option value="3">Mar</option>
  <option value="4">Apr</option>
  <option value="5">May</option>
  <option value="6">Jun</option>
  <option value="7">Jul</option>
  <option value="8">Aug</option>
  <option value="9">Sep</option>
  <option value="10">Oct</option>
  <option value="11">Nov</option>
  <option value="12">Dec</option>
  </cfselect>________________________________
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to