Welcome to the LimeSurvey Community Forum

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

{SAVEID} null

  • timmyfromspace
  • timmyfromspace's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 weeks 2 days ago #267308 by timmyfromspace
{SAVEID} null was created by timmyfromspace
Please help us help you and fill where relevant:
LimeSurvey version: 6.6.6+241002
Own server or LimeSurvey Cloud: own server
Survey theme/template: fruity_twentythree
==================

Hello, i have a question about passing the automatic generated "id" field from limesurvey to a URL. I didn't find any documentation about it, just some forum posts.

Always recommended is {SAVEID}, but if i use it / console.log it, it's always NULL. Even though the survey is active and an ID is assigned. So my question is, if i have to activate it in the limesurvey setting or survey setting? Or if i have to predefine it?

Instructions and help would be much appreciated.

Best Regards

Timmy


 

Please Log in to join the conversation.

More
4 weeks 2 days ago #267309 by jelo
Replied by jelo on topic {SAVEID} null

Always recommended is {SAVEID}, but if i use it / console.log it, it's always NULL. Even though the survey is active and an ID is assigned.
 
The variable {SAVEID} should always contain the ID of the current response record. You don't need to do or setup anything beside have the survey activated. If SAVEID is null there might be a bug introduced recently. But I would expect a few more posts if SAVEID is no longer providing the correct ID.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 weeks 1 day ago - 4 weeks 1 day ago #267312 by Joffm
Replied by Joffm on topic {SAVEID} null
Hi,
I suppose it's only a typo.
But this variable is called {SAVEDID}

See here
[url] www.limesurvey.org/manual/URL_fields/en [/url]

​​​​​Joffmh

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 4 weeks 1 day ago by Joffm.
The following user(s) said Thank You: DenisChenu, timmyfromspace

Please Log in to join the conversation.

More
4 weeks 1 day ago #267313 by jelo
Replied by jelo on topic {SAVEID} null

Hi,
I suppose it's only a typo.
But this variable is called {SAVEDID}
 
Correct, I overlooked that. I sometimes forget the D myself.
 

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose