Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Reset response ID after copying a survey

  • elissa
  • elissa's Avatar Topic Author
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 3 weeks ago - 5 years 3 weeks ago #182244 by elissa
Hello,

I create a copy of survey by exporting survey structure (.lss) and then import it as a new survey. The original survey was executed and has some number of responses. The problem is that the first response ID in the new survey does not start with 1. The IDs continues so the first response ID in the new survey is e.g. 89. Can I reset it to start with 1? LS 3.16.1.

Cheers

Elzbieta Lesinska
LS voluntary Polish translator and supervisor
Attachments:
Last edit: 5 years 3 weeks ago by elissa. Reason: LS version added
The topic has been locked.
  • elissa
  • elissa's Avatar Topic Author
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 3 weeks ago #182257 by elissa
Replied by elissa on topic Reset response ID after copying a survey
OK, I edited .lss file and changed the filed <autonumber_start> from CDATA[89] to CDATA[1] (in xml editor), however, I'm not sure if this is OK and if this is the only place to correct. At first glance this seems to work.

Elzbieta Lesinska
LS voluntary Polish translator and supervisor
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 3 weeks ago #182274 by DenisChenu
Replied by DenisChenu on topic Reset response ID after copying a survey
I look at an lss yesterday , don't find this …
It can be interseting to allow it to reset in GUI.

Same when import table from previous response : this update the number even if i want to be the same.

Let's make 2 feature request.

(else : i think it's OK, no need another update, mauybe 0 ? or not set ?).

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose