- Posts: 77
- Karma: 3
- Thank you received: 6
- Forum
- English support forums
- Can I do this with LimeSurvey?
- "false" input radio question (answer locked according previous question)
"false" input radio question (answer locked according previous question)
3 years 7 months ago #134529
by mattheoh
Hi, I m searching an answer from a few hours to my problem...
I have 2 array questions (numeric value) , let's say Q1 and Q2
I have a Q3 question wich is radio button type (two answers A1 and A2)
I d like to check automatically :
- A1 if (({Q1.NAOK}/{Q2.NAOK}) < 0.1)
- A2 if (({Q1.NAOK}/{Q2.NAOK}) > 0.1)
I m going to try to do it following this workaround.
manual.limesurvey.org/Workarounds:_Manip..._.28default_value.29
My problem is I d like the answer to be locked (the user can't modify it - indeed, I use this answer to calculate some equation questions)
Just beginning with limesurvey and maybe my reflexion is not good.
Thanks a lot for your help.
I have 2 array questions (numeric value) , let's say Q1 and Q2
I have a Q3 question wich is radio button type (two answers A1 and A2)
I d like to check automatically :
- A1 if (({Q1.NAOK}/{Q2.NAOK}) < 0.1)
- A2 if (({Q1.NAOK}/{Q2.NAOK}) > 0.1)
I m going to try to do it following this workaround.
manual.limesurvey.org/Workarounds:_Manip..._.28default_value.29
My problem is I d like the answer to be locked (the user can't modify it - indeed, I use this answer to calculate some equation questions)
Just beginning with limesurvey and maybe my reflexion is not good.
Thanks a lot for your help.
Please Log in or Create an account to join the conversation.
3 years 7 months ago #134534
by first
Survey Designer and Programmer
Replied by first on topic "false" input radio question (answer locked according previous question)
You can punch(set) an answer option with EM but you would need some javascirpt to disable it.
BTW, the questions punched via EM can be made hidden from questions setting and can be used later in survey for calculations.
BTW, the questions punched via EM can be made hidden from questions setting and can be used later in survey for calculations.
Survey Designer and Programmer
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 8517
- Karma: 621
- Thank you received: 2615
3 years 7 months ago #134562
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
Replied by tpartner on topic "false" input radio question (answer locked according previous question)
Be careful when disabling radio inputs - that may prevent the data from being recorded.
Why not load the value into a hidden equation question instead of using radios?
Why not load the value into a hidden equation question instead of using radios?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
Please Log in or Create an account to join the conversation.
3 years 7 months ago - 3 years 7 months ago #134594
by mattheoh
Replied by mattheoh on topic "false" input radio question (answer locked according previous question)
Thanks for your both answer...
You're right it wasn't a good solution, and not useful...
I just add in my question a condition to display a text, as this :
and it feets perfectly to my needs.
I will just have to change the calculation of my equation questions.
Thanks again.
You're right it wasn't a good solution, and not useful...
I just add in my question a condition to display a text, as this :
{if(CH3Q4.NAOK == 'O', "<p>my text for Yes</p>", "")}
{if(CH3Q4.NAOK == 'O', "<p>my text for No</p>", "")}
and it feets perfectly to my needs.
I will just have to change the calculation of my equation questions.
Thanks again.
Last edit: 3 years 7 months ago by mattheoh.
Please Log in or Create an account to join the conversation.