1 Reply Latest reply on Dec 3, 2010 9:57 AM by Steve L Walker

    Drop-down List links

    dj03

      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. Re: Drop-down List links
          Steve L Walker Level 5

          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