AnsweredAssumed Answered

Hide delete button

Question asked by abhi1982 on Feb 24, 2016
Latest reply on Feb 25, 2016 by abhi1982

Hi All


I am trying to hide the actions menu and delete button from the ribbon. I am usng the JS below which works fine when I try it in browser console but does not work when I add this to Nintex form custom JS section. Any idea why this would not work and also if there is another way to hide these buttons/sections?



var hidedel=document.getElementById("Ribbon.ListForm.Display.Manage.DeleteItem-Medium");"none";

var abc=document.getElementById("Ribbon.ListForm.Edit.Commit.Cancel-Large");"none";

var hideactions=document.getElementById("Ribbon.ListForm.Display.Actions");"none";