Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Hyperlink to a Page in the current document ? LiveCycle v8.2

Avatar

Level 2

Can anyone help me with the syntax to hyperlink to a page in the current PDF ?

I have not been able to locate any information on this !

This is a fill able XFA form & am attempting a Table of Content TextBox on the Main page with links to different parts of the form.

Thanks

Aubrey

5 Replies

Avatar

Level 7

you can use:

xfa.host.setFocus("placeYouWantToGo")

to move about within the document

Avatar

Level 10

XFA forms do not support inbound hyperlinks, so the setFocus method is propably the only way to jump directly to a desired location in a form.

You can use this in combination of bookmarks when you use Designer ES3 or newer.

LiveCycle Blog: Lesezeichen in XFA-Formularen//Bookmarks in XFA forms

Avatar

Level 2

Thanks whyisthisme,

Can this be used in a hyperlink ? Or is this a placed in the event (click ) code ?

Aubrey

Avatar

Level 2

All:

What I am looking for is something similar to the hyperlink options in Adobe Pro where you can specify a page # to go to.

Unfortunately, LiveCycle only has the option for a URL or an email. And For the URL, it generates an <a href="the URL"> syntax.

Is there a way to get it to generate a <a id=Page3> javascript ?

Or maybe force the <a href=""> to use an Id in the existing document ?

Aubrey

Avatar

Level 7

you would put it in an event (such as the click event) for the text you want to hyperlink