- Posts: 256
- Thank you received: 37
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Hidden punching.
- first
- Topic Author
- Offline
- Elite Member
Less
More
10 years 11 months ago #95126
by first
Survey Designer and Programmer
Hidden punching. was created by first
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?
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
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
10 years 11 months ago #95141
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic 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?
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.
The topic has been locked.
- first
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 256
- Thank you received: 37
10 years 11 months ago #95162
by first
Survey Designer and Programmer
Replied by first on topic 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
The topic has been locked.
- mdekker
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 55
- Thank you received: 12
10 years 11 months ago #95163
by mdekker
---
Menno Dekker
Replied by mdekker on topic 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
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
10 years 11 months ago - 10 years 11 months ago #95177
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Hidden punching.
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.I am able to punch Q2 when it is not hidden but as soon as I make it hidden punching fail.
Possibly for statistics?Why not use an equation question type when it is hidden anyway?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 10 years 11 months ago by tpartner.
The topic has been locked.
- first
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 256
- Thank you received: 37
10 years 11 months ago #95187
by first
Survey Designer and Programmer
Replied by first on topic 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
The topic has been locked.