문제

I am using InfoPath to create a custom form when users add items to a list. I am using views and my own submit button so I don't want the ribbon to be visible. How to hide it? Thanks

도움이 되었습니까?

해결책

From the List's ribbon select: Customize List | Form Web Parts | Content Type Forms | New Form | Edit Web Part

Then Uncheck: Show InfoPath Ribbon or toolbar

다른 팁

you can also paste the following code, on the a content editor inside embadede code, with this u can even get show hide options

<script type="text/javascript" unselectable="on">
function ShowRibbonRow() 
{$("#s4-ribbonrow").show(); }
function HideRibbonRow() 
{ $("#s4-ribbonrow").hide(); }
_spBodyOnLoadFunctionNames.push("HideRibbonRow");
</script>
<div class="w-Ribbon" unselectable="on">
<a onclick="Javascript:ShowRibbonRow();" href="#" unselectable="on">Show</a>
<a onclick="Javascript:HideRibbonRow();" href="#" unselectable="on">Hide</a>
</div>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top