Highlighted

Mouse scroll wheel inside a drop-down list

Avatar

Avatar

Thomas_McConnac

Avatar

Thomas_McConnac

Thomas_McConnac

27-01-2009

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

Replies

Highlighted

Avatar

Avatar

pguerett

Total Posts

(val/1000)?string[".0"]}K

Likes

611

Correct Answer

692

Avatar

pguerett

Total Posts

(val/1000)?string[".0"]}K

Likes

611

Correct Answer

692
pguerett

27-01-2009

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

Avatar

Avatar

Thomas_McConnac

Avatar

Thomas_McConnac

Thomas_McConnac

27-01-2009

Thanks Paul.
Highlighted

Avatar

Avatar

Thomas_McConnac

Avatar

Thomas_McConnac

Thomas_McConnac

28-01-2009

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
Highlighted

Avatar

Avatar

Thomas_McConnac

Avatar

Thomas_McConnac

Thomas_McConnac

03-02-2009

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
Highlighted

Avatar

Avatar

Thomas_McConnac

Avatar

Thomas_McConnac

Thomas_McConnac

03-02-2009

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
Highlighted

Avatar

Avatar

Kalindrea

Avatar

Kalindrea

Kalindrea

13-09-2018

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

Highlighted

Avatar

Avatar

_Bruce_Robertson

MVP

Total Posts

(val/1000)?string[".0"]}K

Likes

268

Correct Answer

371

Avatar

_Bruce_Robertson

MVP

Total Posts

(val/1000)?string[".0"]}K

Likes

268

Correct Answer

371
_Bruce_Robertson
MVP

14-09-2018

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.