Expand my Community achievements bar.

Drop-down List links

Avatar

Level 1

I am brand-spanking-new to LiveCycle. Can the items in a drop-down list be links instead of plain text?

Thank you!

dj

1 Reply

Avatar

Former Community Member

That depends on the requirements and the use case.

Technically it can be accomplished by adding URLs as text values in a drop-down and then calling "xfa.hots.gotoURL()" on the drop-down change event. For example,

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


var url = xfa.event.newText;

xfa.host.gotoURL(url);

If you open the PDF in a browser (using the Reader plug-in) you will be directed to the URL. The same is not true if you open the PDF in Reader/Acrobat stand-alone.

Steve