Expand my Community achievements bar.

Mouse scroll wheel inside a drop-down list

Avatar

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

Avatar

Former Community Member
Currently it does not do that ....you will need to enter a feature request for that through support.

Avatar

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

Avatar

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

Avatar

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

Avatar

Level 1

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

Avatar

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.