Auto compleate input field.

  • rameshkpalleri
  • Novice
  • Novice
  • User avatar
  • Posts: 32
  • Loc: india

Post 3+ Months Ago

Hello wonderful people..
Im creating a form. in that i need to apply 'auto compleate' function in text field..
ie. when i entered RAMESH once, the second time if i type R in the field the whole word should disply der.. like that..

any body tried this..?

Stay beautiful..
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • IceCold
  • Guru
  • Guru
  • User avatar
  • Posts: 1254
  • Loc: Ro

Post 3+ Months Ago

didnt try till now, but can be done fairly easy, using a combination between a input text field and a combo box.
place the combo box on the stage, create another layer above it and place your input text field over the combo box, so that only the drop down button can be seen.
This is the display part.

Next part is to store all the data entered in the textbox inside an array.
Then all you have to do is fill the combobox with data from the array, corresponding to the characters entered in the textbox. This will be done both on KeyPress event and on combo box drop down event.
So, if in text is entered R ... fill the combo box with all the values from the array that starts with R.
  • rameshkpalleri
  • Novice
  • Novice
  • User avatar
  • Posts: 32
  • Loc: india

Post 3+ Months Ago

Thanks bro,...
but i need the at inside the textfield itself.
coz im using Lite2.0. so using a combobox will be a problem(size)... i think..
any idea..?
  • IceCold
  • Guru
  • Guru
  • User avatar
  • Posts: 1254
  • Loc: Ro

Post 3+ Months Ago

uhmm, then you have to create your own combo box. I think i made a scrolling list (and the list is exactly what u need, cos the dropdown button can be created by you) in flash ... i`ll look over it later to see if you can use it.
  • rameshkpalleri
  • Novice
  • Novice
  • User avatar
  • Posts: 32
  • Loc: india

Post 3+ Months Ago

Thankyou so much..

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 11 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.