Copy link to clipboard
Copied
I need to create a field where users can paste a URL into. They save the PDF and email it to someone else. The recipient opens the document, clicks on the URL, and the webpage is opened.
Sounds simple, but the standard text field I create on PDF forms do not appear to be hyperlink enabled.
I am completely new to Adobe and have no knowledge of Javascripts if that is relevant.
Add this code to the field's MouseUp event:
if (event.target.valueAsString!="") app.launchURL(event.target.valueAsString);
Copy link to clipboard
Copied
Add this code to the field's MouseUp event:
if (event.target.valueAsString!="") app.launchURL(event.target.valueAsString);