how to convert user entered web address hyperlinked

Muhmad 13-03-2019

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

Mark Solution

Are these answers useful?
Help other community members by marking useful answers as accepted.

Accepted Solutions (0)

Answers (1)

Answers (1)

Magus069
MVP
14-03-2019

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.