Expand my Community achievements bar.

how to convert user entered web address hyperlinked

Avatar

Level 1

Hello

i have a rich text field in adobe livecycle in which user is supposed to enter some web site link.i Want when i save the  pdf and open it again the web url should take me to that site when i click on the link.

Thanks in advance.

Muhammad

1 Reply

Avatar

Level 10

Hi there,

Unless you want to do some more complicated stuff than simply letting the user creating an hyperlink in the text field, you can use the Ctrl+e shortcut in Adobe Reader/Pro to be able to edit font and text decoration. You can also setup a hyperlink with this tool.

Otherwise if you want to do it with JavaScript, you'd have to find the URL and its length first within the entered text to be able to make it a hyperlink using the <a href=""> tag. Then using the loadXML() function to input the new data.

I hope this help.