Expand my Community achievements bar.

Dropping down a drop-down list via code

Avatar

Level 1

I wish to make drop-down list expand when you enter the field (or via code) in addition to the normal drop down action when clicking on the arrow.

4 Replies

Avatar

Level 10

Hi,

Check out this post where there is a potential solution from Cyan Studios... http://forums.adobe.com/message/1358331#1358331

Also includes a link to a sample.

N.

Avatar

Former Community Member

There is an openList() method that you can fire on the enter event, for example

// form1.page1.dd::enter - (JavaScript, client)

xfa.host.openList(form1.page1.dd);

but the list does not remain open.

I see a reference to a known problem, but not necessarily the same problem, at http://kb2.adobe.com/cps/405/kb405021.html . The solution does not have any effect in Acrobat/Reader 9.1.

Steve

Avatar

Level 1

Thank you the OpenList is exactly what I was looking for.

I gues I need to dig into the xfa object in greater detail.

Avatar

Level 2

Hi Steve,

I am having that same problem right now where the list doesn't remain open.  It's been a few years since this thread was updated but I found it upon searching for the same issue.  Do you know of a resolution?

Thank you so much in advance!!!