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.

Text Links (Hyperlinks) Designer 8.0

Avatar

Former Community Member
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

Former Community Member
Thanks Geo



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

Avatar

Former Community Member
Don't worry I have sorted it out. Thanks again.

Avatar

Former Community Member
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

Former Community Member
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

Former Community Member
Never mind... I found the answer right after I posted :)



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



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



Kathryn

Avatar

Former Community Member
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?