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

Form field: set up to allow auto creation of hyperlink

New Here ,
Jun 11, 2020 Jun 11, 2020

I saw something about this in the Archives, but no solution, so... HELP

I created a form (think of it as a template) with several text fields, in one of which the User can enter a URL in one of the fields.  The User enters all of their data, and forwards the form to Recipients.

I'd like the Users to be able to enter the URL as text, and have the form turn that into a clickable hyperlink for the Recipients.

I know about the workaround, where the field is formatted for Rich Text and the User converts it to a hyperlink by pressing Ctrl+E.

BUT is there a way to make this happen without any intervention by the User?

(First time on here, BTW so I'm hopeful you folks can help.)

 

TOPICS
How to , PDF forms
1.7K
Translate
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 ,
Jun 11, 2020 Jun 11, 2020

How would it work, though? When the user clicks the field in order to enter a value into it the script will attempt to launch the URL and it would interfere with the user's actions.

Translate
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 ,
Jun 11, 2020 Jun 11, 2020
LATEST

Set the mouseUp event to launch the URL only if the value of the field is a valid URL. You can do this with a regex. To edit the field, tell users to tab into it avoiding the mouseUp trigger.

Translate
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