Welcome to the LimeSurvey Community Forum

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

PASSTHRU problem, not working

  • dawidmos
  • dawidmos's Avatar Topic Author
  • Offline
  • New Member
  • New Member
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.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #204359 by tpartner
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
  • dawidmos's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
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
  • dawidmos's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
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
  • dawidmos's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
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
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #204363 by tpartner
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

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
  • dawidmos's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
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
The topic has been locked.
  • dawidmos
  • dawidmos's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
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
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #204368 by Joffm
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

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago - 3 years 7 months ago #204377 by tpartner
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.

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
  • dawidmos's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 7 months ago #204378 by dawidmos
Replied by dawidmos on topic PASSTHRU problem, not working
Sure. Version 3.15
The topic has been locked.
  • dawidmos
  • dawidmos's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
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.

Lime-years ahead

Online-surveys for every purse and purpose