It appears that the SIZE attribute (with value >= 2) is required for the preSelected option to work for the CFSELECT tag.

> 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