1

I have a SharePoint list containing hyperlink column. I want to put some value in the column which do not redirect user. I mean it should do nothing when user click on the link. I tried putting # but form doesn't save because it is invalid to put #.

Eventually i want to achieve this through workflow but before that i want to make it work manual.

  • What is the date type of the Column? HyperLink? If you are using J Query then try #! and see if that works. But if the Hyperlink column type is not required, you can just use String – MicrosoftDevX Oct 10 '16 at 2:16
  • the column type is hyperlink and it required to be hyperlink. The # keyword does not allowed. – Madi Oct 11 '16 at 22:32
  • Okay, you can use client side script to disable the hyperlink functionality. In jQuery something along these document.getElementById('Link1').disabled=true; – MicrosoftDevX Oct 12 '16 at 7:36
  • I cant use JQuery because same column may contain a URL which need to redirect properly. Can it be achieve through URL format only? – Madi Oct 13 '16 at 23:10
0

put the following after the link (you may have to use javascript) onclick=return false;

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.