Copy link to clipboard
Copied
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.)
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.