• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 2.0 AutoComplete for custom data

Jake B.

Well-known member
#1
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?
 

Mike

XenForo developer
Staff member
#2
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.