Skip to Content
author's profile photo Former Member
Former Member

Adding a hyperlink to adobe forms


I´m trying to insert an order number in adobe forms in a static form as a hyperlink to the order. My first step was to insert a static link. The following code works:

var part1 =" xmlns:xfa="" xfa:APIVersion="2.4.5325.0">">Google

var defaultText= part1.toXMLString();
this.value.exData.loadXML(defaultText, false, true);

But when I split the string in 2 strings, to insert the url and the description dynamically, it fails. E.g.:

var part1 =" xmlns:xfa="" xfa:APIVersion="2.4.5325.0">">;

var part2 = "Google</a></p></body>";
var defaultText= part1.toXMLString() + part2.toXMLString();
this.value.exData.loadXML(defaultText, false, true);

Can anybody tell me what is wrong or give me an example that works.



Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.