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

Specifying XenForo.AutoComplete.defaultUrl

Jeremy P

Well-known member
#1
In an addon, I am trying to replicate the autocomplete functionality from the "Members" page (Find Member). I have got the PHP setup right, but I am not sure how to specify the defaultUrl for it to use the appropriate action for my addon.

Changing it manually in xenforo.js does what I need, but how would it be set in a template? using some data attribute on the form?

Thanks.