A better autosuggesting widget

Following on from my previous post about extending the cfinput auto-suggest functionality (a tidy autosuggesting solution), I decided that my solution was too narrow. I have now written a custom tag that allows access to all the useful properties of the auto-suggest widget.

The tag can be found @ http://betterautosuggest.riaforge.org/

Here is a quick and slim example of how it can be used:

<cfimport taglib="myCustomTagsFolder" prefix="custom">

<cfform action="" method="post">
   <custom:betterautosuggest
           name="fruit"
           autosuggest="apple,banana,lemon,lime,mango,orange,peach,pear"
           delimchar=";"/>
</cfform>

Enjoy :)