PDA

View Full Version : Autocomplete textfield help



MoShAn480
3 May 2007, 2:09 PM
Hi,

I am trying to build an autocomplete textfield. Can someone point me in the right direction? I would prefer to use a textfield and not a ComboBox for this.

Thanks

jsakalos
3 May 2007, 2:21 PM
If you are not going to use combo, how do you offer (show) the user some alternatives for text completion?

MoShAn480
3 May 2007, 2:45 PM
Well i guess i could use a combo. It will not have any pre populated data though, so i would not want the arrow to be rendered. It will be a text field where after 3 characters are entered, then i will query the server for the data.

jsakalos
3 May 2007, 2:48 PM
This sounds good. There was some example for this (Live Search). It's still there but not functional anymore. However, you can look at the source.

MoShAn480
3 May 2007, 2:59 PM
Cool thanks, I will see if i can locate this.

jsakalos
3 May 2007, 3:00 PM
http://extjs.com/deploy/ext/examples/form/forum-search.html (http://extjs.com/forum/../deploy/ext/examples/form/forum-search.html)

MoShAn480
3 May 2007, 3:06 PM
Awesome! Thank you very much!

jsakalos
3 May 2007, 3:08 PM
You're welcome.
I'm glad I helped.