Welcome to the LimeSurvey Community Forum

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

Nombre de participants

  • Naima96
  • Naima96's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 8 months ago #204403 by Naima96
Nombre de participants was created by Naima96
Bonjour,

j'ai un espace clients créer à l'aide framework qooxdoo. Lorsque j'affiche les participants d'une enquête, les nombres des participants n'affiche pas correctement!!
Pour mieux expliquer l’état, dans une enquête de LimeSurvey j'ai 5 participants, mais il ne s'affiche que 4 participants dans mon interface !!
pourquoi s'afficher comme ça et comment je le correcte SVP ?
The topic has been locked.
  • Nickko
  • Nickko's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 8 months ago #204409 by Nickko
Replied by Nickko on topic Nombre de participants
Il faudrait sans doute demander au support de Qooxdoo.

Personnellement, je ne connais pas ce framework et tu ne nous expliques même pas comment tu tentes de récupérer la liste des participants.

Nous aurons du mal à te répondre sans voir/savoir ce que tu fais.

Nickko
Head of ergonomics, UX & UI.
The topic has been locked.
  • Naima96
  • Naima96's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 8 months ago #204412 by Naima96
Replied by Naima96 on topic Nombre de participants
Merci pour ton réponse
même chose si je ne travaille pas avec qooxdoo
voici le code:
var cbGetListParticipantsSuccess = function(data) {
var res = JSON.parse(data);
if(res.error){
console.error("Erreur :", res.error);
return;
}
surveyid = res.result;
console.log("list participants:", surveyid);
}
function btnClickGetListParticipants() {
var params = {
"method": "list_participants",
"params": {
"sessionkey" : sessionKey,
"surveyid" : 217236,
"sstart" : sstart,
"slimit" : slimit,
"bUnused" :true,
"attrb" :false
},
jsonrpc: "2.0",
id :1
};
$.ajax({
"url": "http://localhost/limesurvey/index.php/admin/remotecontrol",
"type": "POST",
"contentType": "application/json",
"data": JSON.stringify(params),
"error": function(err) {
console.error(err);
},
"success" : cbGetListParticipantsSuccess
})
}
et voici le résultat :
{"id":1,"result":[{"tid":"166","token":"13071","participant_info":{"firstname":null,"lastname":null,"email":""}},{"tid":"167","token":"13335","participant_info":{"firstname":null,"lastname":null,"email":""}},{"tid":"168","token":"46465","participant_info":{"firstname":null,"lastname":null,"email":""}},{"tid":"173","token":"13125","participant_info":{"firstname":null,"lastname":null,"email":""}},{"tid":"174","token":"13160","participant_info":{"firstname":null,"lastname":null,"email":""}},{"tid":"175","token":"31529","participant_info":{"firstname":null,"lastname":null,"email":""}},{"tid":"176","token":"27881","participant_info":{"firstname":null,"lastname":null,"email":""}}],"error":null}
le résultat affiche 7 participants mais en réalité il existe 8 participants dans cette enquête !
The topic has been locked.
  • Nickko
  • Nickko's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 8 months ago #204421 by Nickko
Replied by Nickko on topic Nombre de participants
Tu as vu, ça fini par une erreur.
Tous tes participants ont un token ?

Nickko
Head of ergonomics, UX & UI.
The topic has been locked.
  • Naima96
  • Naima96's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 8 months ago #204433 by Naima96
Replied by Naima96 on topic Nombre de participants
oui tous les participants ont un token
The topic has been locked.
Moderators: Nickko

Lime-years ahead

Online-surveys for every purse and purpose