Skip to main content
Participating Frequently
September 10, 2021
Question

Convert UNC windows path to clickable link in a text field properties automatically

  • September 10, 2021
  • 1 reply
  • 346 views

All I have a simple text field box that I need to be able to add an windows UNC path that is clickable. "\\servername\sharename\etc".  The text field is in rich text format that will allow me to make a clickable hyperlink (manually), but since the format needs to be "//servername/sharename/etc" with forward slashes vs windows UNC. Is there a javascript that can be used on teh field if my under copy the unc path from windows to convert it & make it a clickable hyperlink?

This topic has been closed for replies.

1 reply

Participating Frequently
September 10, 2021

All I have a simple text field box that I need to be able to add an windows UNC path that is clickable. "\\servername\sharename\etc".  The text field is in rich text format that will allow me to make a clickable hyperlink (manually), but since the format needs to be "//servername/sharename/etc" with forward slashes vs windows UNC. Is there a javascript that can be used on the field if my users copy the unc path from windows to convert it & make it a clickable hyperlink?