Welcome to the LimeSurvey Community Forum

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

Randomizzazione domande in visualizzazione 1 x pagina

  • robertofranchi
  • robertofranchi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 5 months ago #159930 by robertofranchi
Ciao a tutti.
Utilizziamo da qualche anno LS per gestire survey.
Finora abbiamo randomizzare le domande (X su Y con X < di Y) utilizzato "Gruppi o Survey Monopagina".

Ora abbiamo l'esigenza di creare una indagine con "più gruppi (blocchi) per i quali, per ognuno, dobbiamo randomizzare X domande su Y, mostrandone però solo1 per pagina... (ad esempio le domanda 1-3-5-7 del blocco 1, visualizzate una ad uno, le domande 2-3-6-7 del gruppo 2 visualizzate una ad una, e così via).

Dalle ricerche fatte non mi risulta questa funzionalità presente in altri strumenti.
Volevo capire se esiste un "work around" a questa limitazione (ad esempio randomizzando le domande con codice). Ho fatto delle prove senza successo. Mi sembra anche che non sia possibile usare l'equazione di rilevanza delle domande...

Avete suggerimento o idee?

Un grazie anticipato
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 5 months ago #159931 by Joffm
Ciao, Roberto,

ecco la parte inglese del forum.
Per favore scrivi l'inglese o scrivi nella parte italiana.

But as I understand your question:
You would like to randomly display some questions of a group one by one.
This is how I would solve it:
In each group randomly create a string of Y characters (Y number of questions in the group) like "0110010010".
Something like {join(rand(0,1),rand(0,1)...)}
To display only questions with value "1" use something like "substr(mystring,1,1)=='1'", "substr(mystring,2,1)=='1'", ...


Regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • robertofranchi
  • robertofranchi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 5 months ago #159932 by robertofranchi
Replied by robertofranchi on topic Randomizzazione domande in visualizzazione 1 x pagina
Thanks a lot... in this week I'll try your solution

Best regards
The topic has been locked.
  • robertofranchi
  • robertofranchi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 5 months ago #159935 by robertofranchi
Replied by robertofranchi on topic Randomizzazione domande in visualizzazione 1 x pagina
Hi Joffm,
just a info about your solution..

a) Ok to create a random sequence
1) I think to use a "expression question" to store the value up to close the single survey...
2) So, if the partecipant return - stop e restart - the value is already present...
3) In case the partecipant repeat the survey (because he fault the test) I put in final page the value of expression == "", so, the partecipant can repeat the survey with others questions choise by new random sequence)
4) but... I think that I have to insert code to define how many question choise (cicle For Next).. is it correct?

b) about the second part to display question ...
Do you think is better use the "condition page" or "equation relevance" area in question page?

Thanks a lot
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 5 months ago #159937 by Joffm
Hello, Roberto,

well, of course, that's the fine tuning.
I did not mention the basics (equation question, and so on), because you seem to be an experienced user.

3. If a respondent repeats the test, he will go through the equation and here a new series is created.

4. Yeah, this is inserted by you. Your Y questions.

Regarding your last question: I nearly never use conditions, only relevance.
But give it a try.

Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • robertofranchi
  • robertofranchi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 5 months ago #159938 by robertofranchi
Replied by robertofranchi on topic Randomizzazione domande in visualizzazione 1 x pagina
Thanks a lot
In the next day I'll try the solution

Bye
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose