It sure can, you have:

<cfform...>
 <cfinput autosuggest="..." .../>
</cfform>

Ben Forta on the matter:
http://www.forta.com/blog/index.cfm/2007/5/31/ColdFusion-Ajax-Tutorial-1-AutoSuggest

How is your javascript? If good, I'd recommend plugging into a js framework
directly and using an autosuggest widget written for that framework
(ColdFusion is using the YUI autosuggest widget) - that bit of learning can
save you massively in the long run. That said, the cf autosuggest works
pretty well within its limited scope.

HTH

Dominic


2009/9/7 Les Irvin <[email protected]>

>
> Can CF do this?
>
> I have a database of, say, 1000 song titles.  I want a user to be able
> to input one of those song titles into a form.  A select box with 1000
> options is pretty unwieldy.  Can CF eliminate irrelevant songs as the
> user types?
>
> For example:
> User types "B", only those titles starting with "B" now show in the
> dropdown.
> User types "o", only those titles starting with "Bo" now show in the
> dropdown.
> User types "t", only those titles starting with "Bot" now show in the
> dropdown.
> etc, etc, etc...
>
> I'm trying to prevent the user having to type the whole title AND
> force the title to be spelled/cased exactly as it already is in the
> database.
>
> Thanks in advance for any help,
> Les
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326076
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to