views:

53

answers:

0
+1  Q: 

cfselect problem

Hi,

I theory seems to be the answer to the pre populated selectbox issue.

<cfselect name = "regions" query = "getRegions" selected="10" value="id" display="name" ></cfselect> 

this is what it outouts

<option value="8">Dumfries & Galloway</option>
<option value="9">Dundee City</option>
<option value="10" selected="selected">East Ayrshire</option>
<option value="11">East Dunbartonshire</option>

but my option 10 is not selected automatically. The html looks ok any reason why?

Thanks,

R.