Check for unanswered mandatory questisons at end

More
1 month 1 week 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

Please Log in to join the conversation.

LimeSurvey Partners
More
1 month 1 week ago #200030 by DenisChenu
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.

Please Log in to join the conversation.

More
1 month 1 week 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

Please Log in to join the conversation.

More
1 month 1 week 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

Please Log in to join the conversation.

More
1 month 1 week 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

Please Log in to join the conversation.

More
1 month 1 week 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.

Please Log in to join the conversation.

More
1 month 1 week 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

Please Log in to join the conversation.

More
1 month 1 week 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 ... ;-)

Please Log in to join the conversation.

More
1 month 1 week 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

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now