Expand my Community achievements bar.

HTTP link in PDF Form

Avatar

Former Community Member
Hello,



Can I put an HTTP link in PDF form. So when the user is online and clicks this link, he will directed to the link web site.



Please provide me with an answer. This is very urgent.



Thanks

Shashi
6 Replies

Avatar

Level 6
Hi,



Try to use a submit button changing it appearance.

Avatar

Former Community Member
Thanks, But the Submit button posts the XML data to the Form Server. I dont want to do that, it is just an hyperlink to say www.cnn.com etc etc..

If I specify the submit button URL as www.cnn.com, it gives me a message in the PDF that no site found.



Did you ever try this? If yes can you share more information.



Thanks

Shashi

Avatar

Former Community Member
Give it a try by providing the full url. In a text field, just type http://www.cnn.com instead of www.cnn.com

Acrobat and Reader should resolve the URL text to an active link



Evangelos

Avatar

Former Community Member
Hi Shashi,



To open an URL from within a Designer generated form you will need to use the gotoURL method of the xfa.host object.



i.e. xfa.host.gotoURL("http://www.cnn.com");



You will need to create a object such as a button that when clicked will execute the above script.



Denver

Adobe Enterprise Support

Avatar

Former Community Member
Thank you Denver and evangelos for replies. I tried both the options and both are working. I will use them as needed in my form.



Regards

Shashi

Avatar

Former Community Member
Hello,



I would like to add a target="_blank" to open a new page. Could you please tell me how?

Thanks in advance.

Keelan