The newest releases of Adobe LiveCycle Designer and Adobe Acrobat/Reader (versions 8.2 and 9.0, respectively) add support for hyperlinks in form objects. You can set hyperlinks to websites, files or email addresses in text objects and field captions.
Creating hyperlinks is easy. Consider the following text object (I’ve bolded one word to highlight the fact that hyperlinks work with plain and/or rich text):
To set “Adobe LiveCycle Developer Center” as a hyperlink, simply highlight the text and choose “Insert Hyperlink” from the context menu or choose “Insert > Hyperlink” from the top-level menu. You’ll get the following dialog where you can specify the URL or email information (notice you can even set the subject of the new email if you set an email hyperlink):
That’s it! Pretty simple. Once the hyperlink is created, you can edit it again by choosing “Edit Hyperlink” or you can remove it by choosing “Remove Hyperlink” from the context menu. You can also choose “Open Hyperlink” to test that the link is valid.
Over in Acrobat/Reader, when the user hovers their mouse over the hyperlink, the cursor will change to a small hand with a “w” over it and a tooltip will appear indicating the hyperlink destination:
Clicking on the hyperlink will result in a security dialog providing the user with the opportunity to “allow” or “deny” Acrobat’s request to open the link. (Before you ask, the security dialog cannot be avoided. I did notice that it sometimes doesn’t appear when you click on a hyperlink within the context of Designer’s “PDF Preview” tab but it will definitely appear when the form is run within Acrobat/Reader on its own.)
As I mentioned earlier, you can also set hyperlinks on field captions. This could be really handy, especially to provide extra help. Consider the scenario where a drop down list is asking a user to choose a policy. It might be useful to provide a way for the user to obtain more information about each policy. Before the hyperlink feature was added, you would’ve had to use a button with the following script in its click event:
That doesn’t look really nice. Sure, you could take the time to format the button’s appearance to remove the highlight, remove the border, remove the background color and set the font to “blue + underline” but that’s a lot of work. Now you can just make a hyperlink out of the word “policy” with just a couple of clicks (and it looks much better too):
Posted by Stefan Cameron on October 6th, 2008
Filed under Acrobat,Designer,Tutorials
Both comments and pings are currently closed.