Survey Forums

HomeHomeSurvey Project ...Survey Project ...Using Survey & ...Using Survey & ...Where are answers stored during survey?Where are answers stored during survey?
Previous
 
Next
New Post
6/18/2015 4:37 PM
 

Hi

I'm trying to figure out where the respondents' answers are stored during a survey (when using SurveyBox Control in an external web application). I can see that they are stored in vts_tbVoterAnswers when the survey is completed, but I just can't figure out where/how they are stored before that!

I can't find the entered answers in the database and I've tried listing the contents of all Sessionstate, Viewstate and Cookies but the only values I see are the ones I have set in my own web application (the one I'm using the SurveyBox Control in)

I tried browsing the SP source code but I'm too much of a SP novice to be able to find it :)

The reason I'm asking is because I want to process the survey answers provided in my own web application upon survey completion. Any ideas on how that can be done?

/J

 
New Post
6/19/2015 3:37 PM
 

J,

To partially answer your question... Inside the SurveyBox class there are public events (listed near the top of the file) that you can hook into.  There are two events I believe you are wanting... "FormSubmitted" and "FormSubmitting."

I'm a little fuzzy on this myself, but keep in mind that a new Voter is not created until a survey has either been paused or submitted.  You can use the VoterDataCreated event to double check this I believe.

Hope this helps,

Jon

 
Previous
 
Next
HomeHomeSurvey Project ...Survey Project ...Using Survey & ...Using Survey & ...Where are answers stored during survey?Where are answers stored during survey?