Soliciting user-generated content (UGC) is all the rage these days. And one easy way to start collecting some of that is through a simple survey asking if the content was helpful, if it solved the problem, and if the person has any additional questions or comments. But, for any given piece of content, you probably want each person to only answer the usefulness survey once.
I recently worked on a project in which the users were doctors working toward earning continuing education credits. The doctors were asked to read through a case study and diagnose a fictional patient. When they finished the diagnosis, they could check their answers. To get credit, they had to answer a short three-question survey.
Easy enough: a Case Studies list was created to hold the case
studies. In the appropriate place on the DispForm, we provided a link to
Take the Survey (Figure 3-1), which also
sends along a query string to prefill some column data using a calculated
column to insert the
(see Figures 3-1 and 3-2.)
Figure 3-1. The Take the Survey link
Figure 3-2. Prepopulated data in NewForm
The tricky part comes when we want to keep the doctors from taking the survey if they’ve already taken it. We want to give them a message telling them they can’t take ...