I don't know off the top of my head how to scroll select lists, but I would say having a select list that big is a bad idea. It will be horrible to use, who wants to scroll through 1000 options, plus this adds unnecessary size and load time to your page. What would be better is to have just selected options as checkboxes or select list and a button to add new options, which can then use ajax or a popup window and then have a filter of some kind to allow the user to find the options they want without having to search through 1000 entries.
Russ On Mon, Nov 8, 2010 at 4:49 PM, fun and learning <funandlrnn...@gmail.com>wrote: > > >you just need to set the selected item as selected in the dropdown > > > ><select name="acme"> > > <option value="abc" selected>text</option> > ></select> > > > >when the user submit the form, just store the seelected value in a session > >variable and use this to set the SELECTED attribute. > > > >e.g. > > > ><select name="acme"> > > <option value="abc" #IIF(StructKeyExists(session,'acme'), > >"'selected'","''"))#>text</option> > ></select> > > > > > > > > > >-- > >Russ Michaels > >www.cfmldeveloper.com - Supporting the CF community since 1999 > >FREE ColdFusion/Railo hosting for developers. > > > >blog: www.michaels.me.uk > > Yes I am doing that with the help of some form variables. I am able to see > the selected value. My question is - suppose there are 1000 values in the > dropdown and the dropdown is of type 'multiple', and the user selected the > 1000nd value, the drop down should be scrolled down to that value when the > user does some other stuff and comes back to the screen. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338959 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm