Remove hyperlink from edit column
Posted by jpwallace - Feb 23 ’17 at 05:03
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.
$(document).ready(function() {
$('a[href*="RootFolder=*"]').each(function(index) {
var link = $(this);
$(this).after("<span>" + link.text() + "</span>");
$(this).remove();
});
});
-
Dmitry KozlovAdminMember for: 8 years 7 months 25 days
Hi,
Most likely, you have a syntax error in your edit form. Expand the browser console (F12) and check the error messages.
-
jennymadsanMemberMember for: 1 year 6 months 28 days
yes you are right like why iam try w3 school webiste
<a href="https://www.w3schools.com/">Visit W3Schools.com!</a> -
jennymadsanMemberMember for: 1 year 6 months 28 days