Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

how to convert user entered web address hyperlinked


Level 1


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.


1 Reply


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.