A quick and easy way to display a Thank you message at the end of survey for submitting the form. At the end of last question, insert a page breaker. After the page breaker, add the Thank you message as a question, and select the type Single line of text. Enter the default value as "Internal". Go to the survey form and click on Respond to Survey. Click Next and in the Editform url in the browser, append &ToolPaneView=2 to the end of URL. Add a CEWP to the below of the page and insert the below code, in HTML source or else paste the code in a text file uploaded to sharepoint library and refer to the text file. (referring the text file is preferred) <script> // hide the input textbox for the "thank you " message var x = document.getElementsByTagName("INPUT"); var i=0; for (i=0; i<x.length; i++) { if (x[i].value=="Internal") { x[i].style.display="none"; } } </script> Save the page. Respo...
Sharepoint tips and learnings from my day to day work