- Posts: 2
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
The recorded response did not match with what was displayed
- Shenglin
- Topic Author
- Offline
- New Member
Less
More
1 month 4 days ago #258932
by Shenglin
The recorded response did not match with what was displayed was created by Shenglin
Please help us help you and fill where relevant:
Your LimeSurvey version: url=https://www.limesurvey.org/]LimeSurvey[/url] [url=https://mbc2.fhtsecethz.org/limesurvey/index.php/admin/index#modalSystemInformation]Version 3.22.26+200714[/url
Own server or LimeSurvey hosting: own server
Survey theme/template:
==================
We have a equation question to determine participants' eligibility.
Here is the equation: {if abc.shown >=2 OR bcd.shown >,'Eligible', 'Non-eligible')}.
Eligible participants will get different messages and questions later on. The logic works fine when filling out the survey. However, when I looked at the responses, the response for the equation question was alway shown "Non-eligible" and all the questions after were blank (should have had answers).
Thank you!
Your LimeSurvey version: url=https://www.limesurvey.org/]LimeSurvey[/url] [url=https://mbc2.fhtsecethz.org/limesurvey/index.php/admin/index#modalSystemInformation]Version 3.22.26+200714[/url
Own server or LimeSurvey hosting: own server
Survey theme/template:
==================
We have a equation question to determine participants' eligibility.
Here is the equation: {if abc.shown >=2 OR bcd.shown >,'Eligible', 'Non-eligible')}.
Eligible participants will get different messages and questions later on. The logic works fine when filling out the survey. However, when I looked at the responses, the response for the equation question was alway shown "Non-eligible" and all the questions after were blank (should have had answers).
Thank you!
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12941
- Thank you received: 3979
1 month 4 days ago - 1 month 4 days ago #258943
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic The recorded response did not match with what was displayed
Without seeing your survey, there is little chance to give an advice.
So please send the lss export.
But even with this export, I can't test in your antique version, which is nearly four years old.
So, if there was a bug, it will be fixed in the meantime.
The oldest one I have is 3.27.33, which is two years old.
You really should consider an update.
Joffm
So please send the lss export.
But even with this export, I can't test in your antique version, which is nearly four years old.
So, if there was a bug, it will be fixed in the meantime.
The oldest one I have is 3.27.33, which is two years old.
You really should consider an update.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 month 4 days ago by Joffm.
Please Log in to join the conversation.
- Shenglin
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
1 month 2 days ago #258980
by Shenglin
Replied by Shenglin on topic The recorded response did not match with what was displayed
Thanks, Joffm!
Please see the .ssl export attached. Would it be possible for you to help me check if the logics make sense?
In the meantime, I will ask my colleagues to update the version.
Please see the .ssl export attached. Would it be possible for you to help me check if the logics make sense?
In the meantime, I will ask my colleagues to update the version.
Attachments:
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12941
- Thank you received: 3979
1 month 1 day ago #258992
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic The recorded response did not match with what was displayed
In these equation the "shown" property is wrong.
Set:
{sum(BMIscore.NAOK, Familyhistory.value, PA.value, Dietscore.NAOK)}
and
{if(Eligibility1.NAOK>=2 OR PHQ4score.NAOK>,'Eligible', 'Non-eligible')}
Three more remarks:
Why do you use assessment values without necessity?
You may use codes like 1 and 2.
And you may use quotas to screen out people (especially in part 1) instead of asking a lot more questions until you say "Oh, sorry, not eligible"
In my opinion you should not use a 'text' result ('eligible', 'Non-eligible') and the use this regexMatch to compare.
As before, use two numbers 0 and 1 and everything is less complicated.
Joffm
Set:
{sum(BMIscore.NAOK, Familyhistory.value, PA.value, Dietscore.NAOK)}
and
{if(Eligibility1.NAOK>=2 OR PHQ4score.NAOK>,'Eligible', 'Non-eligible')}
Three more remarks:
Why do you use assessment values without necessity?
You may use codes like 1 and 2.
And you may use quotas to screen out people (especially in part 1) instead of asking a lot more questions until you say "Oh, sorry, not eligible"
In my opinion you should not use a 'text' result ('eligible', 'Non-eligible') and the use this regexMatch to compare.
As before, use two numbers 0 and 1 and everything is less complicated.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.