Scandal
Well-known member
Let's say we have a custom user field (single line text box) and an array of possible values ['dog', 'cat', 'elephant'] (haha back to primary school).
How could I make the custom user field to show an autocomplete functionality?
I mean: once I type do, it will show dog that can be selected. If I type el, it wil show elephant and so on.
I thought that it can be via the PHP Callback
But I can't find any example on the XF folder or other custom addons to take it as base/ example.
Any idea? I need just a small example.
How could I make the custom user field to show an autocomplete functionality?
I mean: once I type do, it will show dog that can be selected. If I type el, it wil show elephant and so on.
I thought that it can be via the PHP Callback
But I can't find any example on the XF folder or other custom addons to take it as base/ example.
Any idea? I need just a small example.