Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Check for unanswered mandatory questisons at end

  • NielsFro
  • NielsFro's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 10 months ago #200026 by NielsFro
Hi everyone,

I have a survey with four question groups, each with one question and 10 subquestions (Array). All of the questions are mandatory to answer.

Instead of checking for unanswered questions on each page before continuing to the next, I would like to have a summary of all unanswered questions on a final page before submitting the survey...

I can imagine something like not making the questions mandatory, adding a final page with all 40 subquestions repeated and relevance to only show them if they were not answered before (and that final page only showing if there was at least one unanswered subquestion in the whole survey).

However, before trying to build that, I'd like to know if there are any more elegant solutions to my problem that you know of - I couldn't find anything on the forum.

Using Version 3.22.4+200212

Thanks a lot and best regards
Niels
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #200030 by DenisChenu
Replied by DenisChenu on topic Check for unanswered mandatory questisons at end
I don't see any other way to do ,

Not only in LimeSurvey, but by concept …

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.
The topic has been locked.
  • NielsFro
  • NielsFro's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 10 months ago #200041 by NielsFro
Thank you for the quick answer - then I'll try to build it like that.

I know the option from another survey tool (don't ask me which exactly, I don't remember...) to specify if the unanswered mandatory question shall be asked right away or in the end. So I thought there might be a similar workaround in LS.

Niels
The topic has been locked.
  • NielsFro
  • NielsFro's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 10 months ago #200043 by NielsFro
... and maybe you can help me with this as I'm trying to build it:

I have a subquestion in my first group, let's give it the code g1q1sq1
I have this subquestion repeated in the end of the survey with the code g1q1sq1end

how do I get the answer that the participant gave from g1q1sq1 to g1q1sq1end? I assume I have to enter something in curly braces to the question itself, but I can't find out what (It's an array with answer codes from 1 to 6).

Thanks a lot!
Niels
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #200045 by Joffm

how do I get the answer that the participant gave from g1q1sq1 to g1q1sq1end?


I think you only display not answered questions. So why to insert an answer?

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • NielsFro
  • NielsFro's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 10 months ago #200047 by NielsFro
Very good question indeed :D

the reason is: I need to make further equations based on the results of all answers. so I figured it is easier to have the following setup at the end of the survey:

- each subquestion is repeated on the last page
- subquestions that already have an answer are prefilled AND
- subquestions that already have an answer are hidden
- I do the calculations I need with the answers in the repeated subquestions.

Otherwise I'd have to enter a lot of "use this value and if it's empty, use that value instead" which I'd like to avoid.

Hope this explains it well enough to be understood.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #200096 by Joffm
Well,
in that case you have to assign the values of the "first" questions to the "second" like
{Q1end_SQ001=Q1_SQ001}

And your second round of unanswered questions is mandatory?
Meaning, if a participant now doesn't answer he will see the built-in error message?
So, why not in the first one.

Or is it again non-mandatory?
In this case you could use the soft mandatory setting of version 4.x. for the first questions.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • NielsFro
  • NielsFro's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 10 months ago #200195 by NielsFro
Hi Joffm,

thanks for the hint - unfortunately that did not work out as I am hiding those questions that were already answered and hidden questions don't get values assigned... anyways, I found a solution that works for me now. In case anyone is interested:

1) Ask subquestions in the normal way without mandatory setting (A's)
2) Create final page with all subquestions (B's) mandatory and set a relevance for each to only show when it was not answered before (!is_empty ....).
3) Create another page with all items from before but as equations and always hide these. Equation for each is to use the value of the normal subquestions (A's) if they were answered and only use the values of the (B's) if they were not answered in the first place.

This way, the participant can skip questions at first and is presented with all skipped questions in the end. Using the equations from step three, I get the value for each questions to do further calculations.

Regarding your question So, why not in the first one. - The wishes of clients and superiors are sometimes hard to understand ... ;-)
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #200219 by Joffm
Well,

now you should really send your survey as lss export.

We know what you are trying to do, but how can we know what you really do?

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose