XF 2.0 AutoComplete for custom data

Jake B.

Well-known member
I want to take XF's auto complete function and use it for custom data, though this doesn't not seem possible to do without completely copying functions from core.js. There is another auto complete method that is used for a few things (users on conversations, tags, etc) which supports defining a URL but I can't find a way to limit this to a single value only. Any particular reason the ac="single" method doesn't support anything other than users?


XenForo developer
Staff member
We use the existing system to autocomplete template names in template modifications, so you may want to look at how that works as an example.