Welcome to the LimeSurvey Community Forum

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

Array with drop down box and numercial/text value

More
4 years 10 months ago #184281 by artsento
Thank you for you answer.
The topic has been locked.
More
4 years 1 week ago #195380 by BOBYJAMES
while we disable AJAX mode in the survey theme some other issues are happened like not loading the logo etc..
any other solution for avoiding this answer multiplication using above javascript ?

Thanks in advance
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 1 week ago #195384 by tpartner
Disabling AJAX should not affect the basic theme functions like loading an image, nor should it affect any survey functionality. It has been disabled by default in newer versions so I would upgrade to the latest LTS version.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
3 years 10 months ago #199889 by eglerapaliute
Replied by eglerapaliute on topic Array with drop down box and numercial/text value
Hi all,

I am very dumb at this survey making and also not very successful. I am using version Version 4.1.14+200331. Trying to do array text questions with DD list aaaand none of the codes or files you provided here does not work, I can do it easily with online version Version 3.22.14.
See what I get when I try to import my "good" question to the version 4.1.14+200331.

Does that means that there is no options to me doing arrays with DD list in my version?
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #199890 by Joffm
Hi, I did the same.
Imported an old export from 3.x to 4.x (exactly 4.2.0)

And I got this result.




As you did not show us your survey (lss export), it is not possible to say what is wrong in your approach.

Here a sample.

File Attachment:

File Name: limesurvey...9321.lss
File Size:32 KB


Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
More
3 years 10 months ago #199894 by eglerapaliute
Replied by eglerapaliute on topic Array with drop down box and numercial/text value
Hi, thanks for quick reply!

Hmm, I have imported your lss, still the same, no drop down lists comes out, only open text option in the array.
I can see that there is an "undenfied variable" in question text elements noted, but no idea what does that mean (its in red, I guess thats an error), see screenshot.

I am also attaching lss, in general I want to make the selection from numbers 1,2 and 3 in every column.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago - 3 years 10 months ago #199895 by Joffm

in general I want to make the selection from numbers 1,2 and 3 in every column.


So, why don't you use an array(numbers).
This is the default behaviour of this.




Joffm

Regarding the javascript:
What is your setting of XSS-filter? I assume it is "ON". Has to be "OFF"
You find it in "Configuration / Globel Settuings / Security"

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 10 months ago by Joffm.
The topic has been locked.
More
3 years 10 months ago #199897 by eglerapaliute
Replied by eglerapaliute on topic Array with drop down box and numercial/text value
Omg... It worked (ofc) Thank You!
The topic has been locked.
More
3 years 10 months ago #199899 by eglerapaliute
Replied by eglerapaliute on topic Array with drop down box and numercial/text value
Also, answering about the javascript.
Hmmm, If I try to go for configuration I get that "I dont have the permission to this folder" The professional account is managed by university, I am an administrator of my surveys, so I guess cannot change those configurations.

Is that something that really needs to be changed?
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #199902 by Joffm
Usually admins of something like university installations set this to ON, to prevent users to do any harm by cross side scripting.

Meaning you can't insert javascript.
But nearly everything you can achieve with the built-in features.

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: eglerapaliute
The topic has been locked.
More
3 years 10 months ago #199905 by eglerapaliute
Replied by eglerapaliute on topic Array with drop down box and numercial/text value
Hmmm, but that probably means that I wont be able to do arrays (TEXT) with dd list, without permission to do java script (off XSS-filter)?

Cause at the moment I can do it with online version (where I have changed the security settings) but when I import my pre-done question to version where XSS-filter is on I dont get the dd list in the the array (the same error with undefined variable)

Thanks in advance.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #199911 by Joffm
Sorry, but what do you mean by "online version"?
LimeSurvey always is an online application.
Even if on an local XAMPP server.

But it doesn't matter.

As I said before: If for some reasons you are not able to do one thing, change the design of your survey.
Everything is possible with built-in features and in my opinion better regarding usability.
E.g. a array(text) with dropdows.
The user always has to click twice to answer one cell.
If you split it into several - normal - arrays the user only clicks once.

But, as always: Everything is up to you.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose