Hidden punching.

Mehr
4 Jahre 7 Monate her #95126 von first
first erstellte das Thema Hidden punching.
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?

Survey Designer and Programmer

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
4 Jahre 7 Monate her #95141 von tpartner
tpartner antwortete auf das Thema: Hidden punching.
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.

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
4 Jahre 7 Monate her #95162 von first
first antwortete auf das Thema: Hidden punching.
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.

Survey Designer and Programmer

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
4 Jahre 7 Monate her #95163 von mdekker
mdekker antwortete auf das Thema: Hidden punching.
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

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
4 Jahre 7 Monate her - 4 Jahre 7 Monate her #95177 von tpartner
tpartner antwortete auf das Thema: Hidden punching.

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.
Letzte Änderung: 4 Jahre 7 Monate her von tpartner.

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
4 Jahre 7 Monate her #95187 von first
first antwortete auf das Thema: Hidden punching.
Yes , I want to have a hidden question having the answer options a)Young b)Adult and c)Old for data analysis team.

Survey Designer and Programmer

Bitte Anmelden um an der Konversation teilzunehmen.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha