Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

converting dropdown into an editable dropdown

 
Yell Srik
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In my form, i have two elements: a textbox and an select box



In the current implementation, the user can only type a value in the textbox or select a value from the dropdown.

Now i want to modify this implementation in such a way that instead of having a textbox and a select box, i want to have a single editable dropdown with the values aa,bb and cc and the user can enter some value in the dropdown itself?? How can this be done??

Thanks in advance.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Easy solution: other option, show hidden textbox beside element.

Another solution is an auto complete textbox.

Hard solution is a lot of JavaScript code.

Eric
 
Subhash Chandran
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[Please do not reawaken older posts. And restrict promotional posts to the Blatant Advertising forum]
[ July 19, 2008: Message edited by: Bear Bibeault ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic