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

Text Links (Hyperlinks) Designer 8.0

Avatar

Not applicable
I have designed a form in Designer 8.0 and some of my text needs to be linked to parts of a website.



I know you can enter links in Adobe Acrobat but once the tds file is turned into pdf this functionality is blocked.



I have tried many things, with no luck.



So if you know how to create a text link or alter the security settings once in a pdf that would be great!



Thanks in advance and fingers crossed.

Rachael
8 Replies

Avatar

Level 7
You create an invisible button around the text and for the click action you add use the "gotoURL()" method to open the URL.



$host.gotoURL( STRING param1 [, BOOLEAN param2 ] )

Avatar

Not applicable
Thanks Geo



I know how to create an invisible button but am still having issues as where to put "gotoURL()"

Avatar

Not applicable
Don't worry I have sorted it out. Thanks again.

Avatar

Not applicable
I am pretty much a novice.



I have been using xfa.host.gotoURL("http://www.xyz.com/test.html");



which does not work with an invisible button so I create a custom button that looks like a text field. I do not know how to

implement your approach which will no doubt work with an invisible button. (I am using LifeCycle Designer 8).



I would appreciate a specific example and, if possible, to show me how to open the URL in a new window. My approach



xfa.host.gotoURL("http://www.xyz.com/test.html" target="_blank");



fails.



I would be grateful to you for any tips you can offer.



Howard

Avatar

Not applicable
When I tried xfa.host.gotoURL("http://www.xyz.com/test.html"), the document opened in Acrobat! How can I get it to open in a web browser?



Many thanks--



Kathryn

Avatar

Not applicable
Never mind... I found the answer right after I posted :slightly_smiling_face:



app.launchURL("http://www.adobe.com", true);



See
Kristie Nelsen, "Opening Hyperlinks" #, 23 Oct 2006 10:01 am



Kathryn

Avatar

Not applicable
Okay, is there anyway to have a hyperlink inside of a text object? Sort of like that thing we call html, or word documents, or...



Yes, I can see two ways are currently supported:

- hidden button, per above

- explicitly put in the link so that reader can figure out it's a link



There really should be a better way, ala Word.



Thanks!

p

Avatar

Level 4

I had seen this option, but I have a flowed form with lots of subforms and I can't see to be able to put an object on top of something else.  Any other thoughts?