The LimeSurvey Fund-Raiser 2012 is complete. Thank you for donating a total of 25,000 USD!     List of donors »

Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Please Help, hidden question with answers

Please Help, hidden question with answers 4 Monate 2 Wochen her #90696

  • Serafim
  • Serafims Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 80
  • Karma: 1
Hello again my friends, I need help with my survey.

So I have 2 questions, one question I choose from multiple choices, and depending those choices the second question is diferent, so far so good.

But now I already have the answers to my first question, so I want to hide that question, and I put the answers in Limesurvey and save them. And now this is my problem, my second question depends from the choices of the first question, but when I hide it with the saved answers, when I star the survey, and only my second question appears it does not shows me the question depending on the answers of the first question.

Sorry for my english, I hope you andurstand my problem. When I start the survey it shows the second question, that is good, but it should only show the matching answer optinos in this question.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Please Help, hidden question with answers 4 Monate 2 Wochen her #90739

  • Serafim
  • Serafims Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 80
  • Karma: 1
Can someone help?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Please Help, hidden question with answers 4 Monate 2 Wochen her #90784

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 4423
  • Dank erhalten: 460
  • Karma: 167
What is the first question type and the 2nd question type ?

Maybe you can use "Array filter" if the question type is OK.

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Please Help, hidden question with answers 4 Monate 2 Wochen her #90961

  • Serafim
  • Serafims Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 80
  • Karma: 1
No, thtat's not the problem, my problem is I import the responses to lomesurvey, in this case the reso«ponses to a multiple choice question, and when I go and do the survey he doesn't save the answers.

So, my problem is not the hidden answers, the problem is importing the answers.
Letzte Änderung: 4 Monate 2 Wochen her von Serafim.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Please Help, hidden question with answers 4 Monate 2 Wochen her #90969

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 4423
  • Dank erhalten: 460
  • Karma: 167
You need Token to do that, and a "not anonymous survey".

After you can add attribute with information: this attribute can be default answer OR you can use condition on ATTRIBUTE.

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: Serafim

Re: Please Help, hidden question with answers 4 Monate 2 Wochen her #90970

  • Serafim
  • Serafims Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 80
  • Karma: 1
But how do I put the attribute as the default answer?

My first question is a multiple choice question, and the second is a grid to choose from 1 to 5.

In my first question I questuio the person wich department does he changes mail and those answers I already have.

Then in the second question, and depending on the departments he chose before, hw will rate them from 1 to 5.
Letzte Änderung: 4 Monate 2 Wochen her von Serafim.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Please Help, hidden question with answers 4 Monate 1 Woche her #91001

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 2869
  • Dank erhalten: 428
  • Karma: 246
You could set the default answers by pre-filling the survey with the URL. (this also works for filtering arrays)

So, for example, a survey with the following properties:
- Survey ID 111111
- Group with ID 22
- A multiple choice question (departments) with ID 33 and sub-question codes D1, D2, D3, D4...
- A following array question (ratings), filtered by the multiple choice question

Then for a respondent with departments D1 and D3 as defaults, the URL would look something like:
http://yourDomain.com/index.php/survey/index/sid/111111/lang/en?111111X22X33D1=Y&111111X22X33D3=Y

And to hide the question, add something like this to the end of template.css:
 
#question33 {
	position: absolute;
	left: -9999em;
}
Cheers,
Tony

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Letzte Änderung: 4 Monate 1 Woche her von tpartner.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Please Help, hidden question with answers 4 Monate 1 Woche her #91006

  • Serafim
  • Serafims Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 80
  • Karma: 1
Sorry but I'm very noob, where do I put that link (URL)?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Please Help, hidden question with answers 4 Monate 1 Woche her #91007

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 2869
  • Dank erhalten: 428
  • Karma: 246
That would be the link to your survey. It's an alternative to using tokens.
Cheers,
Tony

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Please Help, hidden question with answers 4 Monate 1 Woche her #91009

  • Serafim
  • Serafims Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 80
  • Karma: 1
Ah, ok. But then I had t stop using tokens, I understand. Thanks, but I need another solution, I have a lot of tokens in mu survey.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: DenisChenu, ITEd
Ladezeit der Seite: 0.212 Sekunden
Donation Image