How to Remove Save & Close Button in SharePoint Survey List 2010

In SharePoint 2010, Survey List is commonly used to take surveys.  There are lot of Yes and No type of question & answers. A real scenario to use SharePoint Survey list is to circulate it to your attendes after the meeting. This helps in providing feedback for the Session or Meeting.

Suppose, if you want to customize the OOTB features in SharePoint Survey list, such as removing Save and Close Button in the SharePoint Survey List.

We can achieve the hiding of the buttons using Content Editor Webpart. Copy and Paste the below JavaScript in the webPart and you are good to go.

 

script type=”text/javascript”>
var inputSurvey=document.getElementsByTagName(“input”);
for (var i=0; i
{
if (inputSurvey.item(i).type==”button” && inputSurvey.item(i).value==”Save and Close”)
{

/*Setting the Style to None*/

inputSurvey.item(i).style.display=”none”;
}
}
</script>

Please visit my other blogs on the below articles as well

Search Database in SharePoint 2013 

Content organiser in SharePoint 2013

Document ID Service in SharePoint 2013

Document Managment in SharePoint 2013

Happy SharePointing folks 🙂

Leave a Reply

Your email address will not be published.