Focal Point
[SOLVED] positioning in dropdownlist with entered characters

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/321105872

October 28, 2009, 05:23 AM
Atilla
[SOLVED] positioning in dropdownlist with entered characters
When typing a character, a dropdown will position on the first item which is starting with this character.

Is it also possible to position on more then one character.
F.e. Typing "at", should go to items starting with "at", instead of (my current result) positioning on the first items starting with a "t"

This message has been edited. Last edited by: Kerry,


Member of Benelux
Usergroup
October 28, 2009, 10:57 AM
Tony A
Not by default - this is a limitation of browser functionality and connot be controlled using WebFOCUS. The answer may lay by using JavaScript, but then that question is for another forum.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
October 28, 2009, 04:26 PM
Waz
This is a question that has been asked many times about browsers, there is a solution, as Tony eludes to with javascript.

The general process is to have your dropdown list and an input box. Javascript is used to check the list for the characters types into the input box and position the list.

I would suggest looking for this in google, there are many examples.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

October 29, 2009, 04:06 AM
Atilla
I find it strange to add a javascript!

Just discovered that it works (without any mod's) in Mozilla Firefox,
a pitty that IE6 is our "company-standard" browser.


Member of Benelux
Usergroup