• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to create field users can paste url into which other users can click on to open url

New Here ,
Nov 08, 2016 Nov 08, 2016

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.

TOPICS
Edit and convert PDFs

Views

190

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 08, 2016 Nov 08, 2016

Add this code to the field's MouseUp event:

if (event.target.valueAsString!="") app.launchURL(event.target.valueAsString);

Votes

Translate

Translate
Community Expert ,
Nov 08, 2016 Nov 08, 2016

Copy link to clipboard

Copied

LATEST

Add this code to the field's MouseUp event:

if (event.target.valueAsString!="") app.launchURL(event.target.valueAsString);

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines