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.
Add this code to the field's MouseUp event:
if (event.target.valueAsString!="") app.launchURL(event.target.valueAsString);