Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi

SUJET : Hidden punching.

Hidden punching. il y a 1 an 4 mois #95126

  • trivender
  • Portrait de trivender
  • Hors ligne
  • Expert Lime
  • Messages : 142
  • Remerciements reçus 6
  • Karma: 6
Q1 is Numeric input question and Q2 is a hidden Multi question with three answers options a)Young b)Adult and c)Old.

My job is to :

Punch Young in Q2 if age entered in Q1 Numeric input is 10 to 18
Punch Adult in Q2 if age entered in Q1 Numeric input is 18 to 60
Punch Old in Q2 if age entered in Q1 Numeric input is 61 to 99

Can I do this in Lime Survey?
Trivender Singh
Survey Designer and Programmer
"I always suggest to have a group by group display layout and create a seprate group for each question. This will be extra work but you will get flexiblity to create your question by using more than more lime survey question types."
L'administrateur a désactivé l'accès en écriture pour le public.

Hidden punching. il y a 1 an 4 mois #95141

  • tpartner
  • Portrait de tpartner
  • Hors ligne
  • LimeSurvey Team
  • Messages : 4189
  • Remerciements reçus 786
  • Karma: 359
You will need to use JavaScript to click the hidden question.

Are both questions on the same page?

Why use a multiple-options for Q2? Wouldn't a select-radio be more appropriate?
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.
L'administrateur a désactivé l'accès en écriture pour le public.

Hidden punching. il y a 1 an 4 mois #95162

  • trivender
  • Portrait de trivender
  • Hors ligne
  • Expert Lime
  • Messages : 142
  • Remerciements reçus 6
  • Karma: 6
I agree with you, I will create Q2 a select-radio.Both questions would be on different pages.I am able to punch Q2 when it is not hidden but as soon as I make it hidden punching fail.
Trivender Singh
Survey Designer and Programmer
"I always suggest to have a group by group display layout and create a seprate group for each question. This will be extra work but you will get flexiblity to create your question by using more than more lime survey question types."
L'administrateur a désactivé l'accès en écriture pour le public.

Hidden punching. il y a 1 an 4 mois #95163

  • mdekker
  • Portrait de mdekker
  • Hors ligne
  • LimeSurvey Team
  • Messages : 341
  • Remerciements reçus 68
  • Karma: 38
Why not use an equation question type when it is hidden anyway? That way you can enter an expression to give you the right value for q2.
---
Menno Dekker
L'administrateur a désactivé l'accès en écriture pour le public.

Hidden punching. il y a 1 an 4 mois #95177

  • tpartner
  • Portrait de tpartner
  • Hors ligne
  • LimeSurvey Team
  • Messages : 4189
  • Remerciements reçus 786
  • Karma: 359
I am able to punch Q2 when it is not hidden but as soon as I make it hidden punching fail.
Questions hidden with the "Always hide this question" advanced setting cannot be manipulated with JavaScript. You will need to hide the question with JavaScript or CSS.

Why not use an equation question type when it is hidden anyway?
Possibly for statistics?
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.
Dernière édition: il y a 1 an 4 mois par tpartner.
L'administrateur a désactivé l'accès en écriture pour le public.

Hidden punching. il y a 1 an 4 mois #95187

  • trivender
  • Portrait de trivender
  • Hors ligne
  • Expert Lime
  • Messages : 142
  • Remerciements reçus 6
  • Karma: 6
Yes , I want to have a hidden question having the answer options a)Young b)Adult and c)Old for data analysis team.
Trivender Singh
Survey Designer and Programmer
"I always suggest to have a group by group display layout and create a seprate group for each question. This will be extra work but you will get flexiblity to create your question by using more than more lime survey question types."
L'administrateur a désactivé l'accès en écriture pour le public.
Modérateurs: ITEd
Temps de génération de la page : 0.120 secondes
Donation Image