Remove hyperlink from edit column
Posted: 23 Feb 2017
I have the following code placed in the javascript editor on my display form to remove hyperlinks from lookup columns, when i put the same code in my edit form, the layout of the form changes (i lose my tabbed related items) and am still able to click lookup columns, what should i change in order to have this work on my edit form.
Code: Select all
$(document).ready(function() {
$('a[href*="RootFolder=*"]').each(function(index) {
var link = $(this);
$(this).after("<span>" + link.text() + "</span>");
$(this).remove();
});
});