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

End user adding hyperlinks to a form?

New Here ,
Jul 17, 2018 Jul 17, 2018

Copy link to clipboard

Copied

Hi,  I have created a fillable pdf form, and I need my end users to be able to paste links to various websites related to their project initiatives they are using the form to report out to us on (supporting info).  I have created a few text fields, allowed rtf in properties, and changed settings in the form to allow it to connect to allow the pdf to access all websites (under preferences).

However, when I fill out a dummy form and paste a link into one of my boxes, save it, and email it to myself, when I open the pdf the link is not clickable (or ctrl clickable!) I have to copy and paste each link into a browser to view the link.

Can I change a setting to allow folks to share links with us that will be live for us to click and view when the report form is submitted to us?  Thanks!

TOPICS
PDF forms

Views

235

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
Community Beginner ,
Oct 18, 2022 Oct 18, 2022

Copy link to clipboard

Copied

I have the same question. Is it possible to have the End user add hyperlinks to a pdf form text box without using the Link tool?

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
Community Expert ,
Oct 18, 2022 Oct 18, 2022

Copy link to clipboard

Copied

- Create a Text field in Form Edit mode.
- Open the Actions tab and choose Mouse Up for the Mouse Trigger. This trigger will execute the action when a user clicks on the text field.
- Add a JavaScript in the Action tab and type the following in the JavaScript Editor:

 

if ( !/^\s*$/.test(event.target.value) ) {app.launchURL(event.target.value);}


- The next time a user clicks in the text field, the URL opens in the user's default Web browser.

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
Community Beginner ,
Oct 19, 2022 Oct 19, 2022

Copy link to clipboard

Copied

Thanks for responding. What we need is for the user to be able to copy a url and have it be a live link in a text box.

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
Community Expert ,
Oct 20, 2022 Oct 20, 2022

Copy link to clipboard

Copied

You can allow them to do it, but it's not so straight-forward.

You will need to set the field as having Rich Text Formatting first (under Properties - Options):

try67_0-1666255155694.png

Then, when they enter the URL into the field they'll need to select it, press Ctrl+E to show the Properties Toolbar, and then click the Hyperlink button:

 

try67_1-1666255236634.png

 

Then they would be prompted to enter the URL to link to (as the text doesn't have to be a URL, it can be anything):

 

try67_2-1666255289517.png

 

And after they hit Close the selected text will become a (blue and underlined) clickable link. To open it in the browser you would need to hold down Ctrl when clicking it, though:

 

try67_3-1666255391409.png

 

 

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
Community Expert ,
Oct 20, 2022 Oct 20, 2022

Copy link to clipboard

Copied

If your "text box" is a form field, do as explained above.

If your "text box" is made with the Comment tool the user can directly copy-paste an URL inside.

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
Community Beginner ,
Oct 21, 2022 Oct 21, 2022

Copy link to clipboard

Copied

This is awesome. Thanks so much for your help!

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
Community Beginner ,
Dec 20, 2022 Dec 20, 2022

Copy link to clipboard

Copied

LATEST

Ran into an issue using the "text box" method above. When i copy a url from my browser, it pastes into the field as question marks inside squares. Sometimes the text is white. See below.Screen Shot 2022-12-20 at 4.45.06 PM.png

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