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:
<input id="editorName" name="editorName" type="search" value="" placeholder="User Name..." results="5" class="textCtrl quickSearchText AutoComplete AcSingle" autocomplete="off">
What? That’s all?
Yes, here is the result: