Hide default edit tab - Would like the web part contents to hide the default edit tab and utilize only the rich forms tools
Original Post by Ron (Imported from Ardevia Forum)
I have seen either javascript or html to provide this functionality I believe but cannot locate it. Since we use rich forms for all three list form types, I would like to control the user experience with rich forms tools vs. the default SP edit tools
-
Original Post by dany (Imported from Ardevia Forum)
The easiest way to hide the "Edit" ribbon tab is by adding a Script Editor web part with the following contents:
<style>#Ribbon\.ListForm\.Edit-title,#Ribbon\.ListForm\.Edit{display:none}</style>You will need to add it to any form where you don't want the default Edit ribbon tab shown.
0 -
Or to remove it:
<script type="text/javascript"> document.getElementById("s4-ribbonrow").style.display = "none"; </script>0
Please sign in to leave a comment.
Comments
2 comments