- Posts: 19
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
What can cause "Resume" function to not work?
- achstil
- Topic Author
- Offline
- New Member
Less
More
5 years 4 months ago #178096
by achstil
What can cause "Resume" function to not work? was created by achstil
Hi
Sometimes when testing the "Resume" functionality, the saved survey is empty, i.e. the user clicks the links sent by email - the survey opens but with no answers registered from last use.
This happens inconsistently - and maybe once every 8 or 9 tries.
The survey is not very big, but e.g. the first question is a multiple choice question with 100 checkmarks. When testing I tend to be very quick. So my hypothesis is that its a matter of setting cache:false in the header? Or maybe the page is not actually finished loading when I click "Resume" button? In that case a solution might be to hide the resume button with display none for a few seconds?
But I would very much like to know, if anybody has hints to what could be causing this situation.
sincerely
Sometimes when testing the "Resume" functionality, the saved survey is empty, i.e. the user clicks the links sent by email - the survey opens but with no answers registered from last use.
This happens inconsistently - and maybe once every 8 or 9 tries.
The survey is not very big, but e.g. the first question is a multiple choice question with 100 checkmarks. When testing I tend to be very quick. So my hypothesis is that its a matter of setting cache:false in the header? Or maybe the page is not actually finished loading when I click "Resume" button? In that case a solution might be to hide the resume button with display none for a few seconds?
But I would very much like to know, if anybody has hints to what could be causing this situation.
sincerely
The topic has been locked.
- achstil
- Topic Author
- Offline
- New Member
Less
More
- Posts: 19
- Thank you received: 0
5 years 4 months ago #178505
by achstil
Replied by achstil on topic What can cause "Resume" function to not work?
For the record we are using php 7.2 and postgresql 10.6
Is it possible that we should try another setup?
Is it possible that we should try another setup?
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10103
- Thank you received: 3591
5 years 4 months ago - 5 years 4 months ago #178506
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic What can cause "Resume" function to not work?
Try disabling AJAX in the survey theme options. This will cause only single pages to be loaded at a time instead of the whole survey.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 5 years 4 months ago by tpartner.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- achstil
- Topic Author
- Offline
- New Member
Less
More
- Posts: 19
- Thank you received: 0
5 years 4 months ago #178521
by achstil
Replied by achstil on topic What can cause "Resume" function to not work?
That would also mean I'd loose some functionality? E.g. question 8 is only shown if question 6 == "Yes". This works now - but if I disable ajax, I have to create to survey groups ans present questions group by group?
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10103
- Thank you received: 3591
5 years 4 months ago #178522
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic What can cause "Resume" function to not work?
No, relevance should work with or without AJAX.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- achstil
- Topic Author
- Offline
- New Member
Less
More
- Posts: 19
- Thank you received: 0
5 years 4 months ago #178524
by achstil
Replied by achstil on topic What can cause "Resume" function to not work?
Also on the same page? If AJAX setting is only meant for background data processesing and if it can create problems , shouldn't it be disabled by default?
I am trying to understand what the trade off for me will be, and what new issues might arise.
Will see what happens.
I am trying to understand what the trade off for me will be, and what new issues might arise.
Will see what happens.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10103
- Thank you received: 3591
5 years 4 months ago #178525
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic What can cause "Resume" function to not work?
As I understand it, the only issue may be slightly longer load times but I have not noticed the those.
I disable AJAX in all of my themes - I have seen too many issues with my clients and here in the forums to trust it.
I disable AJAX in all of my themes - I have seen too many issues with my clients and here in the forums to trust it.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu
The topic has been locked.