Over on AmigoFish, this week I implemented tagging. Last night I got autocompletion working. This is not just autocompletion, but the ability to type in a list of values, separated by commas or spaces, and to get the autocompletion on just the last tag in the list. It took a little trickery but I’m really pleased with the outcome. For those of you who are members, log in and take a look (and if you aren’t a member, you should sign up!) At either series or episode views you can add tags and see this spiffiness in action.
There is one tweak I made last night that isn’t live, and that’s how it handles when there is nothing at the end (ie, there is something in the field but the last characters are spaces or commas). Currently, you get a list of numeric things, the very first tags alphabetically. When I push up my tweak, you won’t get any list in this situation, only when there is a sensible value to search on. Let me know what you think, friends and neighbors.