- Posts: 26
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Cant enable ajaxmode in any survey theme
- priza
- Topic Author
- Offline
- Junior Member
Less
More
4 years 1 month ago - 4 years 1 month ago #194482
by priza
Cant enable ajaxmode in any survey theme was created by priza
hey, recently updated to limesurvey3.22.6+200219, we had 2-3 months older version.
all seems fine except from one survey which is embeded on another site via iframe. all was good before the upgrade.
now on theme options we cant see the ajaxmode option, which in advanced options is set to "ajaxmode":"off". we cant change that from GUI. this happens for all themes, core and also custom ones.
if the survey is set to show all questions in one page, it works. if is set to group by group, it gives:
all seems fine except from one survey which is embeded on another site via iframe. all was good before the upgrade.
now on theme options we cant see the ajaxmode option, which in advanced options is set to "ajaxmode":"off". we cant change that from GUI. this happens for all themes, core and also custom ones.
if the survey is set to show all questions in one page, it works. if is set to group by group, it gives:
the survey is public and active, you can tsti it here: dev.stinpriza.org/priza/test-prorata-iframe/400: Bad Request
The CSRF token could not be verified.
The request could not be understood by the server due to malformed syntax.Please do not repeat the request without modifications.
If you think this is a server error, please contact admin.
Last edit: 4 years 1 month ago by priza.
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
4 years 1 month ago #194539
by jelo
The issue around CSRF is not directly related to AJAX.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Cant enable ajaxmode in any survey theme
The AJAX-Mode was removed. So that is no bug, that you no longer see an option for AJAXmode anywhere.priza wrote: now on theme options we cant see the ajaxmode option, which in advanced options is set to "ajaxmode":"off". we cant change that from GUI. this happens for all themes, core and also custom ones.
The issue around CSRF is not directly related to AJAX.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- priza
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 26
- Thank you received: 1
4 years 1 month ago #194544
by priza
Replied by priza on topic Cant enable ajaxmode in any survey theme
hello,
do you know why and in which version it was removed?
previously we had 3.18.0 (sep 2019) in which it worked. maybe ajax exists in lime v4?
do you know why and in which version it was removed?
previously we had 3.18.0 (sep 2019) in which it worked. maybe ajax exists in lime v4?
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
4 years 1 month ago #194545
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Cant enable ajaxmode in any survey theme
Ajaxmode is removed everywhere. LS3 and LS4.
It was removed because it was the root cause for many issues. The mode broke many questiontypes. So the first thing on every new project was to deactivate the AJAXmode.
It was removed because it was the root cause for many issues. The mode broke many questiontypes. So the first thing on every new project was to deactivate the AJAXmode.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- priza
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 26
- Thank you received: 1
4 years 1 month ago #194547
by priza
Replied by priza on topic Cant enable ajaxmode in any survey theme
is there an alternative form embeded surveys with multiple pages?
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
4 years 1 month ago #194551
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Cant enable ajaxmode in any survey theme
The AJAXmode had nothing do to with embedding a survey into a website.
LimeSurvey never offered a embedding via a javascript. The common method to embed a survey is an IFRAME. LimeSurvey has some security settings around IFRAME.
manual.limesurvey.org/Global_settings#Security
LimeSurvey never offered a embedding via a javascript. The common method to embed a survey is an IFRAME. LimeSurvey has some security settings around IFRAME.
manual.limesurvey.org/Global_settings#Security
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.