- Posts: 6
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Problem with back (previous) button
- alexandrosi
- Topic Author
- Offline
- New Member
Less
More
3 years 11 months ago #196053
by alexandrosi
Problem with back (previous) button was created by alexandrosi
Hello,
I am having a problem with the back (previous) button.
I have a two-page survey. The second page is filled in based on the answers given to the first one.
So, when I am at the 2nd page and use the "previous" button I am going to the previous page (as I should) but when I change my answers in this first page, the answers are not updated at the second one.
Could you give me a hand on this?
I am using Version 3.22.9. I attach a simplified version of the survey.
Thanks in advance for your help.
Kind regards,
Alexandros
I am having a problem with the back (previous) button.
I have a two-page survey. The second page is filled in based on the answers given to the first one.
So, when I am at the 2nd page and use the "previous" button I am going to the previous page (as I should) but when I change my answers in this first page, the answers are not updated at the second one.
Could you give me a hand on this?
I am using Version 3.22.9. I attach a simplified version of the survey.
Thanks in advance for your help.
Kind regards,
Alexandros
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12790
- Thank you received: 3940
3 years 11 months ago - 3 years 11 months ago #196056
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Problem with back (previous) button
Hi,
your approach with this hidden question is interesting, but not necessary (and not working)
Just set the subquestion relevance equation of "Testquestion" to
S1Q2_SQ001.NAOK==1 OR S1Q2_SQ001.NAOK==2
S1Q2_SQ002.NAOK==1 OR S1Q2_SQ002.NAOK==2
...
and remove the array filter.
Joffm
P.S.
And you can shorten your group relevance equation to
countifop("lt","3",S1Q2_SQ001.NAOK, S1Q2_SQ002.NAOK, S1Q2_SQ003.NAOK, S1Q2_SQ004.NAOK, S1Q2_SQ021.NAOK, S1Q2_SQ022.NAOK, S1Q2_SQ023.NAOK, S1Q2_SQ024.NAOK, S1Q2_SQ017.NAOK, S1Q2_SQ018.NAOK, S1Q2_SQ019.NAOK, S1Q2_SQ028.NAOK, S1Q2_SQ029.NAOK, S1Q2_SQ030.NAOK)>0
your approach with this hidden question is interesting, but not necessary (and not working)
Just set the subquestion relevance equation of "Testquestion" to
S1Q2_SQ001.NAOK==1 OR S1Q2_SQ001.NAOK==2
S1Q2_SQ002.NAOK==1 OR S1Q2_SQ002.NAOK==2
...
and remove the array filter.
Joffm
P.S.
And you can shorten your group relevance equation to
countifop("lt","3",S1Q2_SQ001.NAOK, S1Q2_SQ002.NAOK, S1Q2_SQ003.NAOK, S1Q2_SQ004.NAOK, S1Q2_SQ021.NAOK, S1Q2_SQ022.NAOK, S1Q2_SQ023.NAOK, S1Q2_SQ024.NAOK, S1Q2_SQ017.NAOK, S1Q2_SQ018.NAOK, S1Q2_SQ019.NAOK, S1Q2_SQ028.NAOK, S1Q2_SQ029.NAOK, S1Q2_SQ030.NAOK)>0
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 11 months ago by Joffm.
The topic has been locked.
- alexandrosi
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
3 years 11 months ago #196061
by alexandrosi
Replied by alexandrosi on topic Problem with back (previous) button
Dear Joffm,
Thanks a lot. It worked smoothly. I couldn't imagine that the solution would be that simple.
Not that it matters a lot but the suggestion to shorten the group relevance doesn't seem to work. The group appears even if none of the selected subquestions on S1Q2 is rated "Not at all useful" (1) or "Slight Useful" (2).
Thank you again. Much appreciated.
Alexandros
Thanks a lot. It worked smoothly. I couldn't imagine that the solution would be that simple.
Not that it matters a lot but the suggestion to shorten the group relevance doesn't seem to work. The group appears even if none of the selected subquestions on S1Q2 is rated "Not at all useful" (1) or "Slight Useful" (2).
Thank you again. Much appreciated.
Alexandros
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12790
- Thank you received: 3940
3 years 11 months ago - 3 years 11 months ago #196063
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Problem with back (previous) button
Yes, you're right.
This will work:
sum(countifop("==","1",S1Q2_SQ001.NAOK, S1Q2_SQ002.NAOK, S1Q2_SQ003.NAOK, S1Q2_SQ004.NAOK, S1Q2_SQ021.NAOK, S1Q2_SQ022.NAOK, S1Q2_SQ023.NAOK, S1Q2_SQ024.NAOK, S1Q2_SQ017.NAOK, S1Q2_SQ018.NAOK, S1Q2_SQ019.NAOK, S1Q2_SQ028.NAOK, S1Q2_SQ029.NAOK, S1Q2_SQ030.NAOK), countifop("==","2",S1Q2_SQ001.NAOK, S1Q2_SQ002.NAOK, S1Q2_SQ003.NAOK, S1Q2_SQ004.NAOK, S1Q2_SQ021.NAOK, S1Q2_SQ022.NAOK, S1Q2_SQ023.NAOK, S1Q2_SQ024.NAOK, S1Q2_SQ017.NAOK, S1Q2_SQ018.NAOK, S1Q2_SQ019.NAOK, S1Q2_SQ028.NAOK, S1Q2_SQ029.NAOK, S1Q2_SQ030.NAOK))>0
Joffm
This will work:
sum(countifop("==","1",S1Q2_SQ001.NAOK, S1Q2_SQ002.NAOK, S1Q2_SQ003.NAOK, S1Q2_SQ004.NAOK, S1Q2_SQ021.NAOK, S1Q2_SQ022.NAOK, S1Q2_SQ023.NAOK, S1Q2_SQ024.NAOK, S1Q2_SQ017.NAOK, S1Q2_SQ018.NAOK, S1Q2_SQ019.NAOK, S1Q2_SQ028.NAOK, S1Q2_SQ029.NAOK, S1Q2_SQ030.NAOK), countifop("==","2",S1Q2_SQ001.NAOK, S1Q2_SQ002.NAOK, S1Q2_SQ003.NAOK, S1Q2_SQ004.NAOK, S1Q2_SQ021.NAOK, S1Q2_SQ022.NAOK, S1Q2_SQ023.NAOK, S1Q2_SQ024.NAOK, S1Q2_SQ017.NAOK, S1Q2_SQ018.NAOK, S1Q2_SQ019.NAOK, S1Q2_SQ028.NAOK, S1Q2_SQ029.NAOK, S1Q2_SQ030.NAOK))>0
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 11 months ago by Joffm.
The topic has been locked.
- alexandrosi
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
3 years 11 months ago #196073
by alexandrosi
Replied by alexandrosi on topic Problem with back (previous) button
Hi Joffm,
Indeed, it worked just fine.
Thanks a lot. You've been very helpful.
Alexandros
Indeed, it worked just fine.
Thanks a lot. You've been very helpful.
Alexandros
The topic has been locked.