I am looking for a way to reset the "last page" field associated with a respondent's data record.
I am administrator for a particular survey that has a few records where the "last page" field has somehow been set to "-1".
"Response ID","Date submitted","Last page"
"16","","-1"
For the tokens associated with those records, attempts to run the survey results in a PHP error declaring "Undefined index: gid".
I believe, but have not confirmed, that the -1 value for last page is causing the survey startup to have an invalid group id set.
When reviewing all exported data records, only a few records have the -1, and all of those records exhibit the PHP error when attempting to run the survey.
I have not found a way to access that "Last page" data in any of the response editing options I've tried.
Let me provide some background information as to how I think this is getting set.
My research group is preparing to re-run a relatively lengthy survey. For invitees that took the survey previously, some seeding of initial data is desired. The method being used is to have interns use the token management system to start the survey for each invitee and set the initial data. They have been instructed to use the "previous" button to return to the beginning of the survey prior to exiting the survey, so that the invitee will start at the beginning of the survey when they accept their invitation to retake the survey.
In a small number of instances, the "Last page" information associated with a token's response record is getting saved as "-1".
It is not clear whether that "-1" is associated with exiting the survey from the "Welcome" page, or some other sequence of events is causing the "-1" to be saved as the last page reference.
We have gotten around the first scattered instances by deleting the data record (losing the work done to seed responses) and processing the token's survey, again. I would like a better solution.
The topic has been locked.