Array number type with 24 columns

More
1 month 1 week ago - 1 month 1 week ago #199967 by Joffm
What is that?

You write

But I have some asignment like this (t573_l1_c3=0,t573_l1_c4=0,t573_l1_c5=0,t573_l1_c6=0,t573_l1_c7=0,
t573_l2_c3=0,t573_l2_c4=0,t573_l2_c5=0,t573_l2_c6=0,t573_l2_c7=0) for all question.


and your first screenshot shows a validation equation with wrong syntax


1. You shouldn't use "subquestion validation", but "question validation"
2. Here there are a lot of comma separated assignments, but no validation.
A validation is a comparison like "Is the value equal X", OR value==X.
Remember "0" is the assignment operator to set something, "==" is the comparison operator.
https://manual.limesurvey.org/ExpressionScript_-_Presentation#Operators
If it is equal the validation is TRUE else FALSE and you cannot proceed to the next question.

And, please read the manual about ExpressionScript.

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
Last edit: 1 month 1 week ago by Joffm.

Please Log in to join the conversation.

More
1 month 1 week ago - 1 month 1 week ago #199975 by nicolae_stan93
I put my survey on diffrent pages to overcome issue with var_max_input (because I change it to 5000 and did nt word)but now I saw that only the response from last page are saved in excel. The other one are not present. Did I miss something regarding settings for pages to be saved (question by question)?
Last edit: 1 month 1 week ago by nicolae_stan93.

Please Log in to join the conversation.

More
1 month 1 week ago #199981 by nicolae_stan93
Thanks I delete all the asignment operation. I saw that appear on table fields when open the survey and I thought that would be nice to initialeze with zero the fields of array of number.

Please Log in to join the conversation.

More
1 month 1 week ago - 1 month 1 week ago #199988 by Joffm
Here an example how you could structure, pre-set and validate.

Pre-setting and validation only for t51.


File Attachment:

File Name: limesurvey...8922.lss
File Size:434 KB


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
Last edit: 1 month 1 week ago by Joffm.
The following user(s) said Thank You: nicolae_stan93

Please Log in to join the conversation.

More
1 month 1 week ago #199993 by nicolae_stan93
Hi,

I have this issue where I set "question by question" to display and for a choice in drop down there are 8 array number. After I complete all of them on the response I got just the response from one array of number. I mention that I changed max_input_vars at 9999 and restarte httpd(apache) server.

Please Log in to join the conversation.

More
1 month 1 week ago #200001 by nicolae_stan93
I tested on a localhost the same survey and it save all the response from all 8 tables (array number) input in excel. And here I have just only 5000 for max_input_vars in php.ini.
Could it be a parameter set wrong on server for not saving all the responses ?
Because the same survey works in my Windows/XAMPP enviroment but not with linux/apache env.

Please Log in to join the conversation.

More
1 month 1 week ago #200015 by holch
You certainly should revise your server settings in terms of max_input_vars, max-execution time, etc. Your server seems to be seriously messed up. Are you using the exactly same version of LS on both servers?

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

More
1 month 1 week ago #200023 by nicolae_stan93
Hello,
No. For the server with problem LimeSurvey Version 4.1.8+200302.
For the one that works is 4.2.3+200511
I saw that max-execution-time is 30.
From here I understand that should be 0.
stackoverflow.com/questions/5140258/incr...cript-execution-time .

Should I also change max_input_time, memory_limit? Other suggestion of parameter would be nice.
I will change to 0 max-execution-time and see if it works
Thanks

Please Log in to join the conversation.

More
1 month 1 week ago #200065 by holch
I personally wouldn't go for 0, because this means that there is no limit at all. If something goes wrong your script might run and run and run and never get "killed".

I am not an expert on this, thus I don't really want to give recommendations. But 30 seconds sounds pretty reasonable to me. In 30 seconds any reasonable script should finish I think. I might be mistaken though. Let's wait for someone else with more experience in server settings (like Denis or Jelo, for example).

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

More
1 month 1 week ago #200067 by holch
Why don't you update the server with the problem from LimeSurvey Version 4.1.8+200302 to the other one (or both to the latest LS 4.2.5+200526) and see what happens?

And: if it works on one server, why not using the same php settings on the other server?

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now