- Posts: 16
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
PASSTHRU problem, not working
- dawidmos
- Topic Author
- Offline
- New Member
Less
More
3 years 7 months ago #204358
by dawidmos
PASSTHRU problem, not working was created by dawidmos
Hi!
I have problem with PASSTHRU. Im trying to pass parameter from URL into question text. Not working. I already use this before like own token but never to question text. I have pass parameter on start survey "&newtest=Y&parm1=klekle". I already put this parm1 in panel integration. On survey question text im writing {PASSTHRU:parm1} or {parm1} - error variable. Can any have any idea?
Regards,
David.
I have problem with PASSTHRU. Im trying to pass parameter from URL into question text. Not working. I already use this before like own token but never to question text. I have pass parameter on start survey "&newtest=Y&parm1=klekle". I already put this parm1 in panel integration. On survey question text im writing {PASSTHRU:parm1} or {parm1} - error variable. Can any have any idea?
Regards,
David.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
3 years 7 months ago #204359
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 PASSTHRU problem, not working
Does the question that you are trying to populate have question-code "parm1"?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- dawidmos
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
3 years 7 months ago #204360
by dawidmos
Replied by dawidmos on topic PASSTHRU problem, not working
No. I was thinking its not matter.
The topic has been locked.
- dawidmos
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
3 years 7 months ago #204361
by dawidmos
Replied by dawidmos on topic PASSTHRU problem, not working
Its some kind security limited?
The topic has been locked.
- dawidmos
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
3 years 7 months ago #204362
by dawidmos
Replied by dawidmos on topic PASSTHRU problem, not working
I need pass parameter to question - not subquestion or answer.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
3 years 7 months ago #204363
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 PASSTHRU problem, not working
You need to load a question with the parameter before it can be use in tailored text.
- manual.limesurvey.org/URL_fields#Prefill...using_GET_parameters
- manual.limesurvey.org/URL_fields#Prefill...using_GET_parameters
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- dawidmos
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
3 years 7 months ago #204364
by dawidmos
Replied by dawidmos on topic PASSTHRU problem, not working
Still problem - maybe i don't understand something but:
https://page/surveys/2018/index.php/survey/index/sid/363923/newtest/Y/lang/en?q1=test1&parm1=test2
Getting result:
q1
(This question is mandatory)
PASSTHRU : parm1
Choose one of the following answers
aaaa
PASSTHRU : parm1
https://page/surveys/2018/index.php/survey/index/sid/363923/newtest/Y/lang/en?q1=test1&parm1=test2
Getting result:
q1
(This question is mandatory)
PASSTHRU : parm1
Choose one of the following answers
aaaa
PASSTHRU : parm1
The topic has been locked.
- dawidmos
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
3 years 7 months ago #204365
by dawidmos
Replied by dawidmos on topic PASSTHRU problem, not working
I did read this page before i post. I think doing something wrong -- too many lime survey per day in last days
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12889
- Thank you received: 3965
3 years 7 months ago #204368
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic PASSTHRU problem, not working
You should better show us your tries.
Attach a lss export of your test survey.
Joffm
Attach a lss export of your test survey.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
3 years 7 months ago - 3 years 7 months ago #204377
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 PASSTHRU problem, not working
1) Totally ignore the passthrough feature, it is not for this.
2) Insert a short-text question with code "parm1" into your first survey group.
3) After testing, you can hide that question.
4) Place {parm1} in the text of your following question.
5) Enter the survey with this appended to the URL: &parm1=myValue.
6) You will see "myValue" loaded into the parm1 question and also in the text in your following question.
2) Insert a short-text question with code "parm1" into your first survey group.
3) After testing, you can hide that question.
4) Place {parm1} in the text of your following question.
5) Enter the survey with this appended to the URL: &parm1=myValue.
6) You will see "myValue" loaded into the parm1 question and also in the text in your following question.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 3 years 7 months ago by tpartner.
The topic has been locked.
- dawidmos
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
3 years 7 months ago #204378
by dawidmos
Replied by dawidmos on topic PASSTHRU problem, not working
Sure. Version 3.15
Attachments:
The topic has been locked.
- dawidmos
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
3 years 7 months ago #204379
by dawidmos
Replied by dawidmos on topic PASSTHRU problem, not working
Ok i understand but still not working. Trying passthru and simple version of this.
The topic has been locked.