[XenForo] – How to create an input box with autocomplete for username. ?>

[XenForo] – How to create an input box with autocomplete for username.

I starting use XenForo (XF) for several years to build some website. Basically XF base on Zend framework but not stop from that, XF also bring so many great feature for developers. I’ll write all of those features later, but now I want to show you one of the really great thing in XF template.

I’m creating a from which allow admin to input the user name and it must show some suggestion (auto complete). The purpose is it will be easier for admin when he/she doesn’t remember exactly what is the username of the user which they want to choose.

Here is the magic:

That’s all!

What? That’s all?

Yes, here is the result:

xf-auto-complete

 

Have fun!

Leave a Reply

Your email address will not be published. Required fields are marked *