Welcome to the LimeSurvey Community Forum

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

Can I disable the AJAX mode? And what is the impact of the AJAX mode?

  • jelo
  • jelo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
5 years 2 months ago #179811 by jelo

Ajax mode: If enabled, the survey page will be loaded faster via ajax (recommended for the average LimeSurvey user). If disabled, the page will be loaded via page reload, which is better for debugging purposes;

manual.limesurvey.org/Theme_options

What is the AJAX mode actually changing in the behavior of LimeSurvey?
E.g. why is the AJAX mode recommend for the average LimeSurvey user?

It looks like page reloads are very often needed, to ensure a correct survey behavior.
Even when no workarounds are in play.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 2 months ago #179870 by DenisChenu
About ajax :
The good way to do ajax
- If javascript was not activated : no ajax, but page work
- If javascript was activated, on some action :
-- only load a partial HTML (not whole page)
-- update a partial part of page
A sample of partially good ajax : www.yiiplayground.com/index.php?r=UiModu...gridView&User_page=4
Deactivate JS : click on 1/2/3 … : reload whoile page and grid as good place. Activate js : reload only the table.


BUT : current LimeSurvey way is Load whole page, update whole page and try to load css/js

Personnaly : i think we must disable it by default … but more : remove whole system before making a cleaner new one (for example : we can load question inner one by one, sille allow disable ajax if user use Expression in Question Group description for example (this poart was not reloaded updated).

Else
Why disable ajax , last sample : bugs.limesurvey.org/view.php?id=14473

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.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
5 years 1 month ago #181708 by Mazi

DenisChenu wrote: i think we must disable it by default

I second that!

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
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose