I'm using an infopath browser enabled form in our sharepoint 2010 list. Is there a way to systematically or programmatically hide or disable certain buttons of my choosing in the ribbon bar? I would like to disable/hide the save button in edit mode and push them to the infopath forms submit buttons instead, however, I would like to let the user edit the form if it comes up in display mode. Any direction would be appreciated! Thank you!
The script to call would be like this (edit to fit the button(s) you want to remove):