Before using the features of the survey with the SharePoint Self Band, another problem is that if the investigation is set to not allow multiple replies, then after the user replies to the survey, and then into the investigation, reply to the survey, there will be a very scary bug, "do not allow to reply to this survey" as shown below:
The English version of the error is: You are not allowed to respond again to this survey
There are many ways to solve this problem, such as setting this survey to allow multiple replies, and then using Eventhandle to control it, not allowing multiple replies, which is OK, but the same problem is that if I create another survey, Then again have to do a eventhandle to control it, special trouble.
So I think of a very perfect way to solve this problem, that is, if the user replied to the survey, then directly to the "Reply to this survey" to hide, we first look at the original map:
See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/web/sharepoint/
There is a "reply to this survey" and if the user has already replied, then the button should not be shown again. (the customer is still very sensible, also feel should not show, I also feel)
Now through our permission settings, as long as in a table, configuration, can be implemented, and not only for the current survey is effective, but for all investigations, can be configured, without any code.
1. Create a "Survey permission configuration table" To configure the investigation that requires control permissions, as shown in the following figure:
will need to set permissions to the survey, fill it out to this table, on it.
Title: This is the name of the investigation
Isallowmultipleresponse: Allow multiple replies, yes/No.
Once the configuration is complete, we can see the effect as follows:
We found that if the current user replied to the survey, and then returned to the survey page, "answer this survey," there is no.