Welcome to the LimeSurvey Community Forum

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

Problemas con respuestas

More
3 years 1 month ago - 3 years 1 month ago #231476 by Joffm
Replied by Joffm on topic Problemas con respuestas
Bueno,
que quieres saber?
Ya sabes, como se calcula el resuktados.
Por ejemplo  (yo no se, cual repuestas estan correctos, tomo SQ001 y SQ003)
{sum(Q01.valueNAOK,Q02.valueNAOK,if(Q03_SQ001=="Y" AND Q03_SQ002!="Y" AND Q03_SQ003=="Y" AND Q03_SQ004!="Y",1,0),if(Q04_SQ001=="Y" AND Q04_SQ002!="Y" AND Q04_SQ003=="Y" AND Q04_SQ004!="Y" AND Q04_SQ005!="Y",1,0), ...
por todas las preguntas.

Con codigos mejores, por ejemplo "C001", "C002",... para repuestas correctas y "F001", "F002",... para repuestas incorrectas puedes usar "that".
Para decir:
{sum(Q01.valueNAOK,Q02.valueNAOK,if(count(that.Q03.sq_C)==2 AND count(that.Q03.sq_F)==0,1,0), if(count(that.Q04.sq_C)==2 AND count(that.Q04.sq_F)==0,1,0), ...
Por todas las preguntas.
Mas corto, mas facil, mas claro.

Lee el manual por "self", "that",...
[url] www.limesurvey.org/manual/ExpressionScri....22that.22_variables [/url]


Comienza tranquila con dos preguntas ara entender el sistema. Es facil, veramente.

Joffm

para que veas tres preguntas Multiple Choice

Veo 60 preguntas

 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 1 month ago by Joffm.

Please Log in to join the conversation.

More
3 years 1 month ago - 3 years 1 month ago #231477 by kwelladm
Replied by kwelladm on topic Problemas con respuestas
{sum(if(Q1_SQ001!="Y" AND Q1_SQ002=="Y" AND Q1_SQ003=="Y" AND Q1_SQ004!="Y",1,0), if(Q2_SQ001===...etc. para las siguientes preguntas...)}
Con esta ecuación, SOLO si respondes NO, SI, SI, NO acepta la respuesta. En otra condición sale un cartel siguiente:
"Una o más preguntas no fueron contestadas de forma correcta. No podrás proseguir hasta que dichas respuestas sean válidas."

Por lo tanto la condición es OR para que acepte cualquier respuesta.
Seguiré analizando las otras opciones que me enviaste Muchas gracias
Last edit: 3 years 1 month ago by kwelladm.

Please Log in to join the conversation.

More
3 years 1 month ago #231481 by Joffm
Replied by Joffm on topic Problemas con respuestas

En otra condición sale un cartel siguiente:
"Una o más preguntas no fueron contestadas de forma correcta. No podrás proseguir hasta que dichas respuestas sean válidas."

No está una condición. Está una ecuación para calcular los puntos.
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

More
3 years 1 month ago - 3 years 1 month ago #231484 by Joffm
Replied by Joffm on topic Problemas con respuestas
Aqui un ejemplo (dos maneras de calcular).
en mi opinión la segunda (QCalc2) está mejor.
 

File Attachment:

File Name: limesurvey...6273.lss
File Size:81.35 KB


Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 1 month ago by Joffm.

Please Log in to join the conversation.

More
3 years 1 month ago #231551 by kwelladm
Replied by kwelladm on topic Problemas con respuestas
Muchas gracias por la ayuda que me dieron, fueron superprofesionales y con un excelente tiempo de respuesta.
Todo funcionó perfectamente con sus consejos.
Gracias de nuevo!!!

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose