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

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

Level 10

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