Welcome to the LimeSurvey Community Forum

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

Mostrar solo una pregunta aleatoriamente de una sección

  • goirigolzarri
  • goirigolzarri's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 year 10 months ago #229489 by goirigolzarri
Ayúdenos a ayudarle y rellene los siguientes campos:.
Su versión de LimeSurvey:url=https://encuestas.ingartek.com/index.php/questionGroupsAdministration/edit/surveyid/868763/gid/649#modalSystemInformation]Versión 5.2.2+211115[/url.
Servidor propio o LimeSurvey Cloud: Servidor propio
Plantilla de diseño utilizada:
==================
Hola!

Tengo una sección o un grupo con 5 preguntas. Tengo que mostrar aleatoriamente solo una de ellas cada vez que se realice la encuesta.

¿Como puedo poner que las preguntas sean aleatorias y ocultar 4 de las 5 preguntas que tengo?

Gracias!

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 10 months ago - 1 year 10 months ago #229490 by Joffm
Hola,
Crea un número aleatorio (alea) del 1 al 5
{if(is_empty(alea),rand(1,5),alea)}

Dar a las preguntas la "ecuación de relevancia" (o "condición"). Han cambiado el nombre, pero no se cuando.
prewgunta 1: alea==1
prewgunta 2: alea==2
...

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 year 10 months ago by Joffm.
The following user(s) said Thank You: goirigolzarri

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 10 months ago #229493 by tpartner
Please do not send a report on a post just because you want a quick answer! Reporting is for spam, etc.

Search the forum and the manual for relevance and random numbers.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: holch

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 10 months ago #229506 by holch
Por favor, no relatar posts porque son "urgentes". Este foro depende a usuarios ayudando usuarios. No hay derecho de recibir respuestas, y respuestas rápidas todavía menos.

En general, preguntas reciben respuestas bastante rápido, pero no hay garantía. Entonces, para el futuro: por favor no "report" posts por esta razón.

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.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 10 months ago #229507 by holch
@tpartner: had not seen your post, because I got so "angry" that I needed to post a response quickly. ;-)

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.

Lime-years ahead

Online-surveys for every purse and purpose