In this post we will display how to show hide the ribbon in an infopath 2010 form in SharePoint. Sometimes we do not need the ribbon to show.
Also check out:
Suppose you have a customized list form which contains a Save button and you are doing custom actions on the button click. In that case you may not need to show the Ribbon in the form.
For this Open the list form in Infopath, If it has not been already opened then Open the site in IE browser and then ribbon click on the List tab and then click on Customize Form Ribbon Item. This will open the form in InfoPath. Then click on File -> Info -> Form Options.
There Uncheck the "Show InfoPath commands in Ribbon or toolbar" check box.
Then click on OK and then Save and Publish the form. After this whenever user try to edit an item, the ribbon will not appear.