Welcome to the LimeSurvey Community Forum

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

Survey URL for Question type "List with comment"

  • Prishel
  • Prishel's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 5 months ago #159422 by Prishel
Hello!

Im broking my head, pls, help:side:

I have the survey with 50 questions type "List with comment".

It means the responses with 100 columns and more I don't want to do..

I need the survey which will redirect to the X questions in survey


I was trying many alternatives, but all of them don't working..

CODE=C1, C2 and etc

Examples of failures:


/survey/index.php/survey/index/sid/366361/newtest/Y/lang/ru/C1/C2

/survey/index.php/survey/index/sid/366361/newtest/Y/lang/ru?C1
/survey/index.php/survey/index/sid/366361/newtest/Y/lang/ru&C1
And so on :S

I am using Version 2.05


It will be great to use code in the URL.

May be you can help?


Thanks in advanse!
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 5 months ago #159424 by holch
As far as I know, you can't jump back and forth based on the URL. But I am no expert on this.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 5 months ago - 6 years 5 months ago #159449 by tpartner
I think the solution would be to use the URL to prefill a hidden question and then place relevance on the "List with comment" questions based on the value in the hidden question.

- manual.limesurvey.org/Workarounds:_Surve...ling_survey_elements

- 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.
Last edit: 6 years 5 months ago by tpartner.
The topic has been locked.
  • Prishel
  • Prishel's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 5 months ago #159586 by Prishel
The question is how to display X questions of Y questions. But not using the conditions and expressions and using the URL parameters. For example,
I have C1,C2,C3 and Cn questions.
The question type - List with comment

And want to display just C1 for one user, and C2&C3 for another. And it depends on URL, not randomly.

Ideal if I will use the Qcode in URL /survey/sa/view/surveyid/366361/C2/C3.
But it doesnt't work

May be function?


Thanks!
The topic has been locked.
  • Prishel
  • Prishel's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 5 months ago #159588 by Prishel
Thanks!

I tryed, but it can't to display several questions, always display only question with last relevance in the URL.

For example, I have Q1 - type free text. And if I using

Relevance for C1 (Q2=Y), for C2 (Q1=Z)

/survey/sa/view/surveyid/366361/newtest/Y?Q2=Y&Q1=Z.
Then display only question with the last relevance (in example it is the question C2 with relevance Q1=Z).
The topic has been locked.
More
6 years 5 months ago #159590 by jelo

Prishel wrote: I need the survey which will redirect to the X questions in survey

Perhaps there is a misunderstanding about your idea. "Will redirect to the X questions" is not exactly clear to me.

Perhaps your LimeSurvey version/build is buggy when it comes to URL GET parameter.
Best thing is to create a small survey with e.g 3 questions and attach it to this thread. That allows others to test the survey with their LS installations. You might try your test survey on demo.limesurvey.org too.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 5 months ago #159608 by DenisChenu
Replied by DenisChenu on topic Survey URL for Question type "List with comment"

Prishel wrote: …
Relevance for C1 (Q2=Y), for C2 (Q1=Z)

No !

C2 == "Y"

If using one = : it's always true manual.limesurvey.org/Expression_Manager...t_Operator_.28.3D.29

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.
  • Prishel
  • Prishel's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 5 months ago - 6 years 5 months ago #159619 by Prishel
Thanks guys!

Sorry for misunderstanding.

I tryed demo.limesurvey.org/index.php?r=survey/i...95489?W1=Y&newtest=Y

(995489)


But there is an error.

I was expected to see question with QCode C1.

And if I using
demo.limesurvey.org/index.php?r=survey/i...?W1=Y&W1=N&newtest=Y
I was expected to see question with QCode C1 and QCode C2.

What Im doing wrong?

Thanks!
Last edit: 6 years 5 months ago by Prishel.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 5 months ago #159638 by DenisChenu
Replied by DenisChenu on topic Survey URL for Question type "List with comment"
Hi,

Demo is resetted each night, then your test survey disappear …
Send a lss if you want help (or contact a LimeSurvey Partner).

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