Quantcast
Channel: Topics in Category: Can I do this with LimeSurvey? - LimeSurvey forums
Viewing all 17529 articles
Browse latest View live

screenout users for redirecting - by: lajennylove

$
0
0
Hi everyone.

I have an issue by using screenouts, cuotas and completes.

At First I created 3 questions of equation type as follow:

1. Code -> Complete, and in the question -> survey.something.com/?status=complete&Us...&surveyID={something}
2. Code -> Quota, and in the question -> survey.something.com/?status=quota&UserI...&surveyID={something}
3. Code -> FilterOut, and in the question -> survey.something.com/?status=filterout&U...&surveyID={something}

And then i created some quotas for some questions, but there are some others than i just can't use quotas to creating screeouts but for example, if you have to create a screenout when you select just one or two of three options (must pass selecting 3 of 3) have to be filtered out. So, i just can't say quota 0 for option 1 or 2 or 3 because is not logic.

Then I deleted the Complete question (for the above equations) and i create a new question at the end of the survey (as the matter in fact i created two, one for completes and other for filtered; but i called both "COMPLETE" in their code name, because I add some logical conditions for them for select one or the another one, as follow.

IF you SELECTED any option OR two THEN show the "COMPLETE" for filtered questions or
IF you SELECTED the three options THEN show the "COMPLETE" for complete questions.

And in the main settings of the survey I just called {COMPLETE} for the ending URL, I made this because i have to redirect my users to their panel by passing their UserID, SurveyID and Status(Complete, ScreenedOut and QuotaFull) but i just have one input for ending URL so i think than if I put the same namecode for those two questions but they're conditioned just one must appear at the and and pass the value into it, but the end URL shows me the mainpage of the url survey hompage.

Anyone has some advice to fix it?

Thank you so much.
Jenny.

SPSS export Variable renaming problem - by: tomW

$
0
0
I am exporting my survey from limesurvey 2.00 to SPSS 20.0. The variables rename the standard SPSS V1,V2 etc and are not renamed but the data is imported. After checking the .sps file it appears that the command RENAME VARIABLE is used rather than RENAME VARIABLES (plural) - it remained greyed out in the singular. I have run the program both with and without the renamed variables. The spss file is as below.

Can anyone help please. Thanks

*$Rev: 121017 $ all 2.
SET UNICODE=ON.
SHOW LOCALE.
PRESERVE LOCALE.
SET LOCALE='en_UK'.
GET DATA
/TYPE=TXT
/FILE='survey_138727_SPSS_data_file.dat'
/DELCASE=LINE
/DELIMITERS=","
/QUALIFIER="'"
/ARRANGEMENT=DELIMITED
/FIRSTCASE=1
/IMPORTCASE=ALL
/VARIABLES=
V1 F7
V2 A16
V3 DATETIME23.2
V5 A19
V6 F1
V7 F1
V8 F2.
CACHE.
EXECUTE.
*Define Variable Properties.
VARIABLE LABELS V1 "id".
VARIABLE LABELS V2 "token".
VARIABLE LABELS V3 "submitdate".
VARIABLE LABELS V5 "startlanguage".
VARIABLE LABELS V6 "Does SPSS work with limesurvey".
VARIABLE LABELS V7 "".
VARIABLE LABELS V8 "".
*Define Value labels.
VALUE LABELS V6
1 "Yes"
2 "No".
VALUE LABELS V8
01 "Strongly disagree"
02 "Disagree"
03 "Slightly disagree"
04 "Undecided"
05 "Slightly agree"
06 "Agree"
07 "Strongly agree".
VARIABLE LEVEL V7(SCALE).
RENAME VARIABLES ( V1 = id ).
RENAME VARIABLES ( V2 = token ).
RENAME VARIABLES ( V3 = submitdate ).
RENAME VARIABLES ( V5 = startlanguage ).
RENAME VARIABLES ( V6 = G1YesNo ).
RENAME VARIABLES ( V7 = G1Likert ).
RENAME VARIABLES ( V8 = G1_Likert2 ).
RESTORE LOCALE.

The output log is:

GET DATA
/TYPE=TXT
/FILE='/Users/Tom/Public/limesurveytest/survey_138727_SPSS_data_file.dat'
/DELCASE=LINE
/DELIMITERS=","
/QUALIFIER="'"
/ARRANGEMENT=DELIMITED
/FIRSTCASE=1
/IMPORTCASE=ALL
/VARIABLES=
V1 F7
V2 A16
V3 DATETIME23.2
V5 A19
V6 F1
V7 F1
V8 F2.

Limeservice server capacity - by: c_schmitz

$
0
0
Hello,

this should not be a problem with LimeService.

SPSS export Variable renaming problem - by: mdekker

$
0
0
Probably you did not do RUN ALL from the menu.

Advanced Statistic - by: mdekker

$
0
0
LimeSurvey is primarily intended for collecting the data. On top of that it offers basic filtering / reporting for quick insights but when you want a little more then that you need to export the data to your favorite program (excel, spss, r etc.) and analyze it there.

How to send a 'feedback' email for a public survey - by: tpartner

Adding responses for a survey via Remote Control 2 API - by: Anurag

$
0
0
A question as simple as it gets. Referring to Remote Control 2 API's add_response method -- What should be the correct structure of the parameter aResponseData?

I need to know this in two cases:
  • an open-ended survey
  • a non-anonymous (token-based) closed-survey

Saving Assessment scores to survey database - by: adamsurfari

$
0
0
Hi all, thanks for this thread. very valuable.

I am currently trying to implement something similar to this thread.

My questionnaire is an IT programming questionnaire, where i have 20 multi-choice question, where each correct answer has a 5 point value.

I have the following issues right now. How can I send the answer by e-mail with the score per question and the calculated total score? Are the values for each question saved anywhere?

I am just starting with limesurvey and I have downloaded sequoia's example file. It would be nice to have an updated one with the fixes ;)

Is it possible, to output the following e-mail message or export it to excel.

--
Q1: 0 - What does private affect a variable?
Q2: 5 - What is the difference from "inner class" and class?
Q3: 0 - What is the difference from an abstract class and an interface?
Q4: 5 - What is the difference between HashMap and Map?
(...)
Q20: 5 - What is an applet?

Total Score: 65

---
Thanks in advance!

Authenticating admin users with LDAP - by: ColinFine

$
0
0
I readily installed limesurvey 2.00 on my localhost and started setting up a survey: no problems.

Then I looked at what I thought was a pretty basic and obvious facility, that of authenticating admin users by LDAP. I couldn't believe how fragmentary and unhelpful the information is that I've found.

The Wiki has a page (unchanged since 2011) which directs to a "Cheap and dirty" method, but that wasn't for 2.00, so I'm dubious whether it will even work.

Googling leads me to bugs.limesurvey.org/view.php?id=7679, which says that 2.05 has plugins for authentication, but gives no hint of where to find these, or how to use it.

In about four hours on the IRC Live chat, I have not had a single reply from anybody; the only messages other than people joining or leaving were two other questions, which also went unanswered.

Now I've found a couple of threads on here discussion LDAP authentication, but nothing that says "This is what you do". I've dredged my memory of GIT and I thought I'd managed to get a copy of 2.05, but there's nothing in the Plugins directory but AuditLog, Demo, and index.php

Right now, I'm feeling lost and unsupported, and hoping somebody can just point me at the place where it is documented how to get 2.05 and how to install and use the LDAPAuth plugin.

Advanced Statistic - by: naburo

$
0
0
Hey Menno,

thanks for your reply :)

I thought, maybe there is a way to solve the problem with another question type?

Use of the TAB key - by: nfuria

$
0
0
Testing a survey that has all questions based in relevance, I press the TAB key and the next question appears even if the previous question is not answered. Then I tested with the "LS2 Sample: Cascading Array" and the TAB key also works in some strange behavior. Are these normal?

problem with a workournd : multiple completed with only one token - by: startx25

$
0
0
I follow this workaround: manual.limesurvey.org/wiki/Workarounds:_..._with_only_one_token


I have LM1.9.2 and this workaround writed for LM1.7.1

My submitoken fucntion definition is not same (in index.php)

LM 1.7.1 :

if (bIsTokenCompletedDatestamped($thissurvey))
{
$utquery .= "SET completed='$today'\n";
}
}
else
{
$utquery .= "SET completed='Y'\n";
....


anh here is my 1.9.2

....
elseif (bIsTokenCompletedDatestamped($thissurvey))
{
if (isset($usesleft) && $usesleft<=1)
{
$utquery .= "SET usesleft=usesleft-1, completed='$today'\n";
}
else
{
$utquery .= "SET usesleft=usesleft-1\n";
}
}
else
{
if (isset($usesleft) && $usesleft<=1)
{
$utquery .= "SET usesleft=usesleft-1, completed='Y'\n";
}
else
{
$utquery .= "SET usesleft=usesleft-1\n";
}
}

can some one help me to adapte this workaround for 1.9.2 ?

Regards

Wildcards in Expression Manager? - by: Breut

$
0
0
This was posted previously in the wrong category - apologies to the forum moderators :blink:

--

Is there a possibility to use an asterisk wildcard in expressions? e.g.:

Instead of:

{sum(A1.value,A2.value,B1.value,C3.value)}

This:

{sum(A*.value,B*.value,C*.value)}

Relevance with nested conditions - by: nfuria

$
0
0
I tried all the combinations possible, using &&, AND, ||, OR.
None works.

I think I can use javascript but I don't know how to verify the answer of a previous question.

Adding responses for a survey via Remote Control 2 API - by: Anurag


LSRC2: Session Key Validity - by: kobaltz

$
0
0
I had a similar issue on my Ruby on Rails application.

Initially, I created the session key at the beginning of the web application start. Whenever the web application was restarted, it would naturally generate a new session key.

However, I found that anywhere between 12 and 24 hours, the session key would expire and no longer pull from the RC2 API.

My work around for this was a blend of self caching and expiring of the session key. I made a application helper method called lime_survey_session_key. Whenever I called the LimeSurvey API, I would reference this helper method as my Session Key. I let Ruby on Rails handle the expiration of the session key. So, whenever the lime_survey_session_key is called, it will first try to pull from the linux memcache. If Ruby on Rails sees that the cache was stale (meaning greater than 2 hours), it would reset the cache and generate a new session key. This way, I'm not calling the session key api every request to LimeSurvey. All in all, this method works great for me since the amount of memory required to store a session key on the server side is extremely small.

helper_method :lime_survey_session_key

def lime_survey_session_key
Rails.cache.fetch('lime_survey_session_key', expires_in: 2.hours) { LIMESURVEY_API.get_session_key(LIMESURVEY_USERNAME,LIMESURVEY_PASSWORD) }
end

Multiple short text + check box combination - by: trivender

$
0
0
I can tell u how I do it..I always have group by group display layout and create a group for each question....this way I have more flexiblity in situation like urs..Having survey layout like mine , u can create 2 questions ..one is multi short yext nd other is multi check box with only one check box..then use relevance..

Mandatory Validation Setting - by: NkemIku

$
0
0
Hi there,
I am adding a mandatory validation setting to my survey. I have a syntax to work from, for example:
Question: {if(count(that.A01.NAOK) ==0, "Question 1 was not answered. ","")}
Relevance equation: (count(that.A01.NAOK)==0 OR count(that.A02.NAOK)==0)

The issue here is that most of the response options for my questions are coded as 0. Do you have any idea what I can substitute with 0 to be able to get that these validation setting working for my questions with 0 coded response options?

Thanks,
Nkem.

Authenticating admin users with LDAP - by: custos

$
0
0
With that being said, the new AuthLDAP plugin is looking good, but very simple. I may be able to expand on it if you would like, but I would highly recommend you add a note that folks must include the @ sign in the settings :).

Statistic on certain Resond IDs - by: JohannJakobWulf

$
0
0
Hi there, i am using Limesurvey Version 2.00+ Build 121115

lets assume i have 30 answers in the survy and i want to have statistics resond id 5, 8, 11 and 25. Not the other. How can i filter this in a excel sheet or/and graph to show just these special answers from those marked IDs? So i do not want to filter answers but i want to filter resonses!
Many thanks for your help!!!! I apologze if this question has been asked before and i am very thankful for help! Best, Johann


:) :) :)
Viewing all 17529 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>