Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Mouse scroll wheel inside a drop-down list

Thomas_McConnac
Level 4
Level 4
Hi all,



During our usability testing we've had a request for the mouse wheel to scroll down the list of items in a drop-down list. Currently it will scroll down the page and not the list.



Does anyone know if this is possible?



Many thanks,



Tom
7 Replies
pguerett
Level 10
Level 10
Currently it does not do that ....you will need to enter a feature request for that through support.
Thomas_McConnac
Level 4
Level 4
Another DDL request from my users:



Can the text entry allow more than 1 character to find an item?



At the moment, if you type in V, then A, it will go to the top A record.



Regards,



Tom
Thomas_McConnac
Level 4
Level 4
When I select the option: Allow Custom Text Entry, it will shorten the list of available options to match what you are typing in.



However it will also pass if you enter any value into the field.



Working on a script that will force the value to meet one of the available values from the drop down list.



Tom
Thomas_McConnac
Level 4
Level 4
B.I.N.G.O.



var correctEntry = false;



for (var i = 0; i < this.length; i++) {



if (this.getItemState(i) == 1 ) {



correctEntry = true;



}



}



if (correctEntry == false) {



xfa.host.messageBox ("This entry does not match an item: " + this.rawValue);



xfa.host.setFocus ("this");



}



Hope this can be of help to someone else.



Tom
Kalindrea
Level 1
Level 1

Would i just put this code in the java script pages options???

_Bruce_Robertson
Level 10
Level 10

Are you using LiveCycle Designer or AEM Forms to create your form?  Just not sure what you mean by page options, but this script looks like it should go in the exit event of the drop down list.