Welcome to the LimeSurvey Community Forum

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

Search Results (Searched for: usesleft)

  • ritapas
  • ritapas's Avatar
16 Feb 2024 10:02
Replied by ritapas on topic {TOKEN:VALIDFROM} / {TOKEN:VALIDUNTIL}
Hi,
thank you for your kind reply.
Indeed, our version is still 3.23.5. We plan to switch to LS5 as soon as possible.
However, I made another try and I found out that, though I'd been distracted by the "Validate Expressions", the email message actually contains the desired values.
This is a bit odd but anyway it works.

For reference, this is the HTML mail template text:
Code:
<html>
<head>
    <title></title>
</head>
<body>
<p>Dear {FIRSTNAME},<br /><br />you have been invited to participate in a survey.<br /><br />The survey is titled:<br />"{SURVEYNAME}"<br /><br />"{SURVEYDESCRIPTION}"</p>
 
<p>Token is valid from {VALIDFROM} until {VALIDUNTIL}</p>
 
<p>Uses left: {USESLEFT}</p>
 
<p><br /><br />To participate, please click on the link below.<br /><br />Sincerely,<br /><br />{ADMINNAME} ({ADMINEMAIL})<br /><br />----------------------------------------------<br />Click here to do the survey:<br />{SURVEYURL}<br /><br />If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:<br />{OPTOUTURL}<br /><br />If you are blacklisted but want to participate in this survey and want to receive invitations please click the following link:<br />{OPTINURL}</p>
</body>
</html>

I enclose a screenshot from "Validate Expressions".
 
  • ritapas
  • ritapas's Avatar
15 Feb 2024 13:09 - 15 Feb 2024 13:13
Please help us help you and fill where relevant:
Your LimeSurvey version: 3.x-LTS
Own server or LimeSurvey hosting: OWN
Survey theme/template: n/a
==================
Hello,
the manual ( link ) mentions the possibility to use the ={VALIDFROM} or {VALIDUNTIL} or {USESLEFT} variables in a closed survey invitation.
Indeed, those names are not valid in my environment, not in such version nor in the "{TOKEN:VALIDFROM} " version.
Is that a feature which has been added to a more recent version than 3.x-LTS?
Kind regards.
Rita
  • korvoh
  • korvoh's Avatar
10 Jan 2023 10:32
The setting "A participant can answer a survey more than once" is active.

The usesleft value is 3 at first.

The usesleft value decreases by 1 each time the participant survey is completed, but when it reaches 0 (zero), it causes the participant to display the survey again and complete it.

As a result, usesleft is -1 (minus one).

I don't know how to bugreport. Is there an article on this topic?
  • jelo
  • jelo's Avatar
05 Jan 2023 11:42

If user_1 answers the survey more than 3 times during the test, the usesleft value gets a negative value (like -1, -2 etc.).
When this value is zero, I want user_1 not to see the survey because of the usesleft value.
 
That looks like a bug. usesleft should be 0 or higher. A negative value is a clear sign for a bug.
I recommend to open a bugreport. It might have been fixed in the newest release.
 
  • holch
  • holch's Avatar
04 Jan 2023 14:55
If the usesleft count goes down to 0, respondents should not be able to answer anymore. What are your settings for allowing multiple participations? This might be the issue. If you allow multiple participations, then they can participate as often as they want, no matter what the uses left count is, as far as I understand it.
  • korvoh
  • korvoh's Avatar
04 Jan 2023 09:18
LimeSurvey version: 5.4.15+221212

I've added Survey Participants.
Each owns a unique token.
I added the number of usesleft for each user to answer the survey 3 times.
If user_1 answers the survey more than 3 times during the test, the usesleft value gets a negative value (like -1, -2 etc.).
When this value is zero, I want user_1 not to see the survey because of the usesleft value.

Does such a feature exist?
How can I make the settings?
  • tpartner
  • tpartner's Avatar
30 May 2022 11:38
The usesleft is set in the token table, not in the Participant settings.

- manual.limesurvey.org/Survey_participants/en#Add_participant
  • irockstyle
  • irockstyle's Avatar
30 May 2022 08:22 - 30 May 2022 08:39
pls can you explain me this
I should create a participant table with these admins,and set usesleft to a very high number (100000).
where i need to do that?  i got the closed surveys but i am not getting place  to set this nos  in participants settings.
reffer image in attachment
thanks.
  • Joffm
  • Joffm's Avatar
30 May 2022 08:02
So, in my opinion it is a closed survey.
And the people who fill the survey are your respondents. If the also are admins or not, doesn't matter.

I should create a participant table with these admins,and set usesleft to a very high number (100000).

Joffm
  • holch
  • holch's Avatar
18 Jan 2022 13:04
Replied by holch on topic Specific URL
And yes, you can also adapt the number of usesleft later, after importing. But then, afaik, you need to do it on an individual basis. So if you have a lot of participants you better include it already in the CSV file with all the other data.

But in case of a problem, you can always edit each respondent by clicking on the little pencil symbol in front of each respondent. E.g. yesterday I had the case, that one of my interviewers did something wrong and an ID was used and thus blocked. I could go into the respondent table, and adapt the usesleft and set it back from 0 to 1, so the token could be used again.
  • holch
  • holch's Avatar
18 Jan 2022 13:02
Replied by holch on topic Specific URL

Is it possible to change the setting of "uses left == 1" and increase the number of uses for 1 token linked to 1 email address with the option "import participants from a CSV file"? I didn't find the option with CSV file (it only appears with "Add participant" or "Create dummy participants").


Yes, this is possible. You just need to include the number of "uses_left" into the CSV file, besides the standard columns.

Whenever you are not sure on how to include things like that, create one (dummy) respondent via the GUI. Then export the token table as CSV. This will give you the structure and you can adapt your CSV accordingly, fill it and upload it.

For example, for one of my surveys the header of the exported CSV looks like this:
Code:
tid,firstname,lastname,email,emailstatus,token,language,validfrom,validuntil,invited,reminded,remindercount,completed,usesleft

So in the column "usesleft" you can adapt the number of uses to your need, e.g. either give everyone just 1, or give everyone 10, or give individual limits to the respondents.

But I highly recommend to create one participant via the GUI, the export the CSV file and see how YOUR CSV file should look like. You can use this as your template.
  • holch
  • holch's Avatar
12 Jan 2022 17:31
Replied by holch on topic CSV Teilnehmerupload Email ungültig
Ohne die Liste zu kennen, ist es natürlich schwierig hier zu helfen, vor allem ohne die Email-Adressen zu sehen.

Ich vermute mal, dass Limesurvey halt auf bestimmte Sachen bei einer Email achtet:

1. Vorhandensein von @ (scheint gegeben zu sein)
2. Es sollte eine TLD vorhanden sein (z.B. .de, .com, .org, .net, etc)
3. Eine TLD sollte mindestens aus zwei Zeichen bestehen, denke ich. In Deutschland waren glaube ich mal TLDs mit nur 2 Zeichen nicht erlaubt, weiss nicht, ob sich das geändert hat.

Aber ich habe gerade mal eine CSV exportiert aus meiner LS 5 Installation und ich glaube, dass deine Problem bei der Anordnung der Spalten liegt.

Dies hier sollte die Standard-Reihenfolge sein, und vermutlich musst du auch auf die Gross und Kleinschreibung achten:
Code:
tid,firstname,lastname,email,emailstatus,token,language,validfrom,validuntil,invited,reminded,remindercount,completed,usesleft

Du brauchst nicht alle diese Daten, aber die Reihenfolge muss vermutlich eingehalten werden. Vielleicht liegt es aber auch nur an der Gross- und Kleinschreibung.

Die ID am Anfrang, die muss man beim Hochladen wohl nicht verwenden. Meine erste Zeile sah beim letzten Upload so aus:
Code:
firstname,lastname,email,emailstatus,token,language,validfrom,validuntil,invited,reminded,remindercount,completed,usesleft

Ich würde es also mal mit diesem hier probieren und schauen was passiert:
Code:
firstname,lastname,email,

Im allgemeinen empfiehlt es sich in solchen Fällen, wo man sich nicht 100% sicher ist, immer erstmal einen Teilnehmer per Hand anzulegen (über die GUI) und dann die Teilnehmerdatei als CSV exportieren. Dann hast du genau das richtige Format und kannst darauf aufbauend deine Teilneher CSV dem enstprechend füllen.
  • doesthiswork
  • doesthiswork's Avatar
11 Nov 2021 12:26

Hi,

press the button "finish the survey"

This is the "Subnit"-button?

With 
"Enable token-based response persistence" = ON
"Allow multiple responses or update responses with one token" = OFF
"Participant may save and resume later:" = ON

the participant can close the browser anywhere and a new click on the link leads to the active survey where the participant left it..

After submitting this survey and clicking the link again there will be a new survey opened, IF you set "usesleft" to an appropriate value in the participants table.
But not both at the same time.

With
"Allow multiple responses or update responses with one token" = ON
the participant always gets back to his last response from the beginning of the survey, even if you add "newtest=Y"

​​​​​​​Joffm
 
Thank you!! That is exactly what I needed.

Is it possible to add the function "resume later" to a button?
  • Joffm
  • Joffm's Avatar
11 Nov 2021 12:13
Hi,

press the button "finish the survey"

This is the "Subnit"-button?

With 
"Enable token-based response persistence" = ON
"Allow multiple responses or update responses with one token" = OFF
"Participant may save and resume later:" = ON

the participant can close the browser anywhere and a new click on the link leads to the active survey where the participant left it..

After submitting this survey and clicking the link again there will be a new survey opened, IF you set "usesleft" to an appropriate value in the participants table.
But not both at the same time.

With
"Allow multiple responses or update responses with one token" = ON
the participant always gets back to his last response from the beginning of the survey, even if you add "newtest=Y"

​​​​​​​Joffm
  • Joffm
  • Joffm's Avatar
25 Feb 2021 20:23 - 25 Feb 2021 20:25
Replied by Joffm on topic Textanzeige für einen Teil der Teilnehmer
Hallo, Jana

Sind aber jetzt die Namen oder Mailadressen noch zu sehen, wenn ich den Datensatz z.B. in SPSS importiere?

War das eine Frage? Da ist die Antwort "Hast Du es ausprobiert?"

Gut, ja natürlich.
Aber, was soll's? DU bist diejenige, die verantwortlich ist, dass die Umfrage gemäß den Standesregeln durchgeführt wird.
Also, importiere in SPSS und lösche die ersten Spalten.
Denn, wie @holch und ich, die wir ja professionelle Marktforscher sind, sagen:
Natürlich erheben wir persönliche Daten, und wir nutzen sie auch; aber sie werden nicht zusammen mit den anderen Daten verarbeitet.
Wir halten uns eben an den Codex des ESOMAR (European Society of Opinion and Market Research) und hier in Deutschland zusätzlich an die Standesregeln des ADM (Arbeitskreis Deutscher Marktforschungsinstitute)

Dazu mein Lieblingsbeispiel:
Auch eine schriftliche Befragung, bei welcher auf dem Deckblatt Name und Adresse des Teilnehmers stehen, ist eine anonyme Befragung, wenn nach den Standesregeln verfahren wird, nämlich dieses Deckblatt "an der Tür des Institutes" abgetrennt und separat gehalten wird.
Diese Adresse darf durchaus benutzt werden, zur erneuten Befragung bei Langzeitstudien, und auch zur Erinnerung (hier umgekehrt gedacht: Diejenigen, deren Adressen ich noch nicht habe, haben den Fragebogen noch nicht ausgefüllt, werden also noch einmal erinnert), usw.

Und wenn Du Dir selbst nicht traust, füge einfach ans Ende der Syntax-Datei dies an
DELETE VARIABLES firstname lastname email emailstatus language sent remindersent remindercount usesleft submitdate lastpage startlanguage seed token .
EXECUTE.


Du musst die Synatax ja sowieso anpassen, nicht nur wegen des Pfades.
Auch die VARIABLE LABELS und VALUE LABELS müssen meist angepasst werden.

Zum Beispiel würde bei Dir dies als Variablenlabel erscheinen
"[Ich mag Gedächtnis- und Konzentrationsaufgaben.] Die folgenden Aussagen beziehen sich auf die Aufgabe bzw. das Training was Ihnen bevorsteht. Bitte geben Sie an, wie sehr diese Aussagen im Moment auf Sie zutreffen.".
Aber eigentlich benötigst Du nur das, was in den eckiggen Klammern steht.

So und jetzt noch etwas anderes:
In den Antwortoptionen steht dies (vielleicht auch nur in diesem Beispiel)
 
Da "Beispiel-Antwort" nur ein Platzhalter ist, ist die Antwort leer und wird nicht angezeigt. Deine Matrix hat also nur drei Spalten.

Und ich weiß immer noch nicht - ich sehe es aber häufig - warum so codiert wird.
 
Die Frage heißt "tsm".
Dann werden die einzelnen Variablen die Namen "tsm_tsm1", "tsm_tsm2", ... haben.
Warum so doppelt gemoppelt?
Ich kann doch einfach "1", "2", ... codieren.
Dann sind die Variablen im Datensatz logisch "tsm_1", "tsm_2", ...

Aber das ist im Grunde Deine Sache.

Viel Erfolg
Joffm
Displaying 1 - 15 out of 88 results.

Lime-years ahead

Online-surveys for every purse and purpose