Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Entering the next question without pushing the forward button

Entering the next question without pushing the forward button 1 Jahr 4 Monate her #95770

  • Spread
  • Spreads Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 7
  • Karma: 0
Hey, I do have a questionaire where I needed to design different surveys as different questions sets in order to put participants randomly to one of 13 surveys. Now I need to show the questions 1 by 1 and here comes my question: is there an option to lead the people to the following questions as soon as they entered any possible answer to the question before? Otherwise the people need to click twice for every single question (for example YES and FORWARD)- and there are a lot of questions! I just can think about setting conditions for every single questions but with for example 5 different options to answer, something like 50 questions for every one of the 13 survey versions it will take days to set this up. Does anybody have a smarter solution?

This would be amazing!
Thanks a lot in advance
Kristin
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Entering the next question without pushing the forward button 1 Jahr 4 Monate her #96050

  • ahavlik
  • ahavliks Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 6
  • Dank erhalten: 1
  • Karma: 0
Hi,
I've just had someone figure this same problem out for me with my Yes/No answers.

<script>
$(function() {
$("#question{QID} input.radio").click(function(){
$("#movenextbtn").click();
});
});
</script>

This worked for me but because on my university server, the administrator had to disable XXS checks in the "Global Settings" to allow javascript to run. I just copy and pasted this code after the code for my image under "Source" and saved it. So where it says {QID}, replace that with the question ID number so it reads question12345.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: LudmilaSap

Entering the next question without pushing the forward button 1 Jahr 4 Monate her #96057

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4195
  • Dank erhalten: 789
  • Karma: 359
So where it says {QID}, replace that with the question ID number so it reads question12345
In 2.0, if you have the script in the question source, you should be able to leave the {QID} as is. This placeholder will automatically be replaced with the parent question ID.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.139 Sekunden
Donation Image