- Posts: 9
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
I split a survey in two and can't pass the value of a parameter by PASSTHRU
- cimbro
- Topic Author
- Offline
- New Member
Less
More
1 week 2 days ago - 1 week 2 days ago #265283
by cimbro
I split a survey in two and can't pass the value of a parameter by PASSTHRU was created by cimbro
Please help us help you and fill where relevant:
LimeSurvey version: LimeSurvey Community Edition 6.3.6
Own server or LimeSurvey Cloud: own server
Survey theme/template: Fruity 23
==================
Hello, I encountered the "The survey response table could not be created" problem (mysql error: 1118 Row size too large (> 8126)) but I can't edit questions or enhance the database.
Therefore, I decided to break the survey into 2.
In survey 1 I set the end URL field by entering the path of survey 2.
So far it works, but I would like to be able to identify the answers given by the user who fills out both surveys
I can't use tokens and I don't have a participant table.
So I would like to use the solution given here: forums.limesurvey.org/forum/can-i-do-thi...-in-the-first-survey
Like this:
1) in survey 1 I modified End URL by adding the parameter &step1={PASSTHRU:SAVEDID}
2) in survey 2 I inserted a field with code “step1” and in the integration panel I added a Step1 parameter with destination the field Step1
3) I don't know how to set hidden the Step1 field.
But unfortunately the end url does not carry the value of SAVEDID, it does not carry any value. It is empty.
In the browser the end url becomes ..../limesurvey/index.php/2?lang=en&step1=
What am I doing wrong?
Thank you very much!
LimeSurvey version: LimeSurvey Community Edition 6.3.6
Own server or LimeSurvey Cloud: own server
Survey theme/template: Fruity 23
==================
Hello, I encountered the "The survey response table could not be created" problem (mysql error: 1118 Row size too large (> 8126)) but I can't edit questions or enhance the database.
Therefore, I decided to break the survey into 2.
In survey 1 I set the end URL field by entering the path of survey 2.
So far it works, but I would like to be able to identify the answers given by the user who fills out both surveys
I can't use tokens and I don't have a participant table.
So I would like to use the solution given here: forums.limesurvey.org/forum/can-i-do-thi...-in-the-first-survey
Like this:
1) in survey 1 I modified End URL by adding the parameter &step1={PASSTHRU:SAVEDID}
2) in survey 2 I inserted a field with code “step1” and in the integration panel I added a Step1 parameter with destination the field Step1
3) I don't know how to set hidden the Step1 field.
But unfortunately the end url does not carry the value of SAVEDID, it does not carry any value. It is empty.
In the browser the end url becomes ..../limesurvey/index.php/2?lang=en&step1=
What am I doing wrong?
Thank you very much!
Last edit: 1 week 2 days ago by cimbro.
Please Log in to join the conversation.
- tpartner
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10145
- Thank you received: 3606
1 week 2 days ago - 1 week 2 days ago #265285
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic I split a survey in two and can't pass the value of a parameter by PASSTHRU
..../limesurvey/index.php/2?lang=en&step1={SAVEDID}
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 1 week 2 days ago by tpartner.
Please Log in to join the conversation.
- cimbro
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
1 week 2 days ago #265289
by cimbro
Replied by cimbro on topic I split a survey in two and can't pass the value of a parameter by PASSTHRU
Thank You very much Tony
It works!
Great!
Bye
It works!
Great!
Bye
Please Log in to join the conversation.
- cimbro
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
1 week 2 days ago #265290
by cimbro
Replied by cimbro on topic I split a survey in two and can't pass the value of a parameter by PASSTHRU
I notice now that now the first page (landing page) of survey 2 shows the welcome page, whereas before it pointed directly to the first question.
The parameter “Automatically load final URL when survey is complete” is still on, as before.
What could this change be due to?
The parameter “Automatically load final URL when survey is complete” is still on, as before.
What could this change be due to?
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13193
- Thank you received: 4057
1 week 2 days ago #265293
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic I split a survey in two and can't pass the value of a parameter by PASSTHRU
Check the settings in "presentation".
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- cimbro
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
1 week 2 days ago #265295
by cimbro
Replied by cimbro on topic I split a survey in two and can't pass the value of a parameter by PASSTHRU
Found and solved, thank you!
Please could you tell me how to hide the question "step1"? It is the question that hosts the received parameter value.
I tried setting "hidden" in the CSS Class field, but it doesn't work
Please could you tell me how to hide the question "step1"? It is the question that hosts the received parameter value.
I tried setting "hidden" in the CSS Class field, but it doesn't work
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13820
- Thank you received: 2521
1 week 2 days ago #265297
by DenisChenu
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.
Replied by DenisChenu on topic I split a survey in two and can't pass the value of a parameter by PASSTHRU
Use hidden setting directly
manual.limesurvey.org/Question_type_-_Sh...is_question_(hidden)
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.
Please Log in to join the conversation.
- tpartner
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10145
- Thank you received: 3606
1 week 2 days ago #265299
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic I split a survey in two and can't pass the value of a parameter by PASSTHRU
...or, CSS class d-none.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13820
- Thank you received: 2521
1 week 2 days ago #265300
by DenisChenu
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.
Replied by DenisChenu on topic I split a survey in two and can't pass the value of a parameter by PASSTHRU
Here we don't need it for JS, then no need HTML produced...or, CSS class d-none.
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.
Please Log in to join the conversation.
- tpartner
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10145
- Thank you received: 3606
1 week 2 days ago #265307
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic I split a survey in two and can't pass the value of a parameter by PASSTHRU
Understood but I generally use CSS as I manipulate so many questions.
Here we don't need it for JS, then no need HTML produced...or, CSS class d-none.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13820
- Thank you received: 2521
1 week 2 days ago #265309
by DenisChenu
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.
Replied by DenisChenu on topic I split a survey in two and can't pass the value of a parameter by PASSTHRU
I have a lot of system with bunch of question hidden
Less HTML produced => less code => more quik
Less HTML produced => less code => more quik
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.
Please Log in to join the conversation.
- cimbro
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
1 week 1 day ago - 1 week 1 day ago #265314
by cimbro
Replied by cimbro on topic I split a survey in two and can't pass the value of a parameter by PASSTHRU
Thank you!
Now everything is working fine.
One strange thing: today the 'step1' parameter I entered yesterday in the integration panel of the second survey disappeared!
However, passing the value from survey 1 to survey 2 still works: the value is saved in the hidden question of the second survey.
Why has the parameter disappeared in the Integration Panel? Perhaps because I have set the question "hidden" or perhaps because I have changed the question text (not the code)?
Now everything is working fine.
One strange thing: today the 'step1' parameter I entered yesterday in the integration panel of the second survey disappeared!
However, passing the value from survey 1 to survey 2 still works: the value is saved in the hidden question of the second survey.
Why has the parameter disappeared in the Integration Panel? Perhaps because I have set the question "hidden" or perhaps because I have changed the question text (not the code)?
Last edit: 1 week 1 day ago by cimbro.
Please Log in to join the conversation.