- Posts: 5033
- Thank you received: 1257
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Should a hidden question seen as answered? Prefilled answer behaviour
- jelo
- Topic Author
- Offline
- Platinum Member
If you switch back and the change theses answers then default answers won't change.
I think this behaviour is intended, since once the question is shown and the prefilled answers are confirmed the default answers are no longer needed.
It would be interesting if questions could be made unanswered when skipping back and fourth through the survey. Any hint where to look?
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
- tpartner
- Offline
- LimeSurvey Community Team
- Posts: 10109
- Thank you received: 3595
.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
- jelo
- Topic Author
- Offline
- Platinum Member
- Posts: 5033
- Thank you received: 1257
Mhm. Looks interesting.tpartner wrote: You may be able to reset the answers with the EM Assignment Operator in an equation question.
But how should that work? Something like QCODE=NULL? Or how is a reset of a question assigned via EM?
Would be a great way to allow users to skip back and forth without preventing the workarounds.
I found mostly warnings in the manual about the assignment operator
Thanks for the hint. I will do a bit of trial and error.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
- tpartner
- Offline
- LimeSurvey Community Team
- Posts: 10109
- Thank you received: 3595
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
- jelo
- Topic Author
- Offline
- Platinum Member
- Posts: 5033
- Thank you received: 1257
Mhm. Monday seems to be a bad day to learn something new. You're right. NULL cannot be the correct way to reset the question to the default values. But what is the correct constant name to assign the default values again (like the question wasn't answered before)? Still haven't found a clue what to assign?tpartner wrote: I was suggesting resetting it to your default answer.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
- jelo
- Topic Author
- Offline
- Platinum Member
- Posts: 5033
- Thank you received: 1257
1. Question
Arrayquestion aq01
2.) Question
Multiple short text question "aq02"
The predefault answers are set with {if (aq01_1.NAOK >= "4" "Over4","")}
3.) Question
Arrayquestion aq03
Array filter: aq02
This is working fine as long as you don't skip back and fourth.
An answer once set to "Over" never changes back to unanswered. Even if the answer in aq01 is under 4.
I wonder how I could reset aq02 when someone is back on aq01.
Any idea how to use EM, Assignment Operator
manual.limesurvey.org/Expression_Manager...t_Operator_.28.3D.29
to reset answer in question aq02?
To sum it up: How to clear and reassign default answers to a question, where default answers are based on answers of a question before.
BTW: What is the situation with the <= < > = with the default answer field?
manual.limesurvey.org/Expression_Manager#HTML_editor_issue
When using >= in the default answer field, you sometimes cannot get the default answer fields anymore.
The QA is showing errors "& gt ; = & quot ; 4 & quot ; & quot ; Over4 & quot ; , & quot ; & quot ; " .
But you won't see the fields to correct the errors anymore. Build Version 2.05+ Build 141003
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
- Mazi
- Offline
- Official LimeSurvey Partner
Try using "gt" and "lt".jelo wrote: BTW: What is the situation with the <= < > = with the default answer field?
manual.limesurvey.org/Expression_Manager#HTML_editor_issue
When using >= in the default answer field, you sometimes cannot get the default answer fields anymore.
The QA is showing errors "& gt ; = & quot ; 4 & quot ; & quot ; Over4 & quot ; , & quot ; & quot ; " .
But you won't see the fields to correct the errors anymore. Build Version 2.05+ Build 141003
This was fixed for other parts so please test if you can still reproduce this at the demo.
If so .-> bug report.
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
- jelo
- Topic Author
- Offline
- Platinum Member
- Posts: 5033
- Thank you received: 1257
"This issue is fixed after 2.06 build 140803" is displayed at that HTML_editor_issue.
What version is the demo? Was the fix back-ported to 2.05+? I am getting offtopic.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
- Mazi
- Offline
- Official LimeSurvey Partner
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13647
- Thank you received: 2491
Maybe i make error when updating the manual ... have to search on github and mantis .... :huh:jelo wrote: Strange behavior. Today I was able to get into the default answers again.
"This issue is fixed after 2.06 build 140803" is displayed at that HTML_editor_issue.
What version is the demo? Was the fix back-ported to 2.05+? I am getting offtopic.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
- jelo
- Topic Author
- Offline
- Platinum Member
- Posts: 5033
- Thank you received: 1257
Thanks, I will test and submit a bugreport if I can reproduce the problems.Mazi wrote: The demo runs the latest stable (=2.05) version.
Since the whole filtering is not working when hiding the question, it seems to be time for a break.
Is there a developer note or a thread where the default behavior of LS in terms of hidden questions is documented?
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
- Mazi
- Offline
- Official LimeSurvey Partner
I don't think so, but there are several forum threads dealing with this.jelo wrote: Is there a developer note or a thread where the default behavior of LS in terms of hidden questions is documented?
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com