Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

SharePoint 2010 - Hide CEWP if survey has been answered

$
0
0

I have created a link to a survey on a web part page using a CEWP. I would like to hide the CEWP if the logged in user has already answered the survey.

I found the following to be of some help: http://social.msdn.microsoft.com/Forums/sharepoint/en-US/16ece738-0012-4772-88c2-11239fe61370/show-or-hide-web-part-javascript but am currently a bit of a stranger to javascript so am not sure how to amend itto say if the completed column from the survey list equals yes for the currently logged in user then hide the web part.

Any help would be appreciated.


Viewing all articles
Browse latest Browse all 11571

Trending Articles