Highlighted

Quote: "if they paste a weblink into a text field, the we...

Adobe Community Professional ,
Jun 27, 2020

Copy link to clipboard

Copied

Quote: "if they paste a weblink into a text field, the weblink does not become hyperlinked. You can't simply click on the link and have it open in a web browser. It just treats the weblink as standard text."

 

That's correct. Acrobat doesn't interpret www.whatever.com or http://whatever.com into a clickable hyperlink when it appears in a text form field. Generally, you need to have a custom script added to the form field that will make the hyperlink active.

 

See http://try67.blogspot.com

 

Moving this thread to the Acrobat forum where several scripters might chime in...

 

Bevi Chagnon | Designer & Technologist for Accessible InDesign + PDFs | Books @ www.PubCom.com/books — NEW! Accessible InDesign + PDF

Views

33

Likes

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

Quote: "if they paste a weblink into a text field, the we...

Adobe Community Professional ,
Jun 27, 2020

Copy link to clipboard

Copied

Quote: "if they paste a weblink into a text field, the weblink does not become hyperlinked. You can't simply click on the link and have it open in a web browser. It just treats the weblink as standard text."

 

That's correct. Acrobat doesn't interpret www.whatever.com or http://whatever.com into a clickable hyperlink when it appears in a text form field. Generally, you need to have a custom script added to the form field that will make the hyperlink active.

 

See http://try67.blogspot.com

 

Moving this thread to the Acrobat forum where several scripters might chime in...

 

Bevi Chagnon | Designer & Technologist for Accessible InDesign + PDFs | Books @ www.PubCom.com/books — NEW! Accessible InDesign + PDF

Views

34

Likes

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
Jun 27, 2020 0
New Here ,
Jun 27, 2020

Copy link to clipboard

Copied

Thank you for your help.

Likes

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
Reply
Loading...
Jun 27, 2020 0
Most Valuable Participant ,
Jun 27, 2020

Copy link to clipboard

Copied

Thanks for the reference to my site, but I'm afraid this can't be done using a script, as it doesn't have access to this part of the Span object's properties (at least, it's not documented). It has to be done manually.

Likes

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
Reply
Loading...
Jun 27, 2020 0
Adobe Community Professional ,
Jun 27, 2020

Copy link to clipboard

Copied

Given that Try67 is one of our brilliant scripters in the Forums, I trust his expert opinioin. If it can't be done, then it can't be done. But maybe he'll think of something in his dreams. <grin>

 

Here's a clunky workaround:

  • You: set the form field's properties to "Allow Rich Text Formatting" in the field's Options tab.
  • The user: types the URL, and then selects it, right-clicks, and chooses Hyperlink. Fill in the resulting dialouge with http://whatever.com (must include the http:// for correct encoding.) To execute the URL/hyperlink, use Control+Click.

That's the best I've got!

 

Bevi Chagnon | Designer & Technologist for Accessible InDesign + PDFs | Books @ www.PubCom.com/books — NEW! Accessible InDesign + PDF

Likes

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
Reply
Loading...
Jun 27, 2020 0