Welcome to the LimeSurvey Community Forum

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

Matriz con una pregunta optativa

  • brauliofirpo77
  • brauliofirpo77's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 7 months ago - 4 years 7 months ago #199836 by brauliofirpo77
Matriz con una pregunta optativa was created by brauliofirpo77
Estimados, tengo una matriz de este tipo

https://ibb.co/VBtBzPf

La cuestion es que necesito saber si es posible que todas las preguntas sean obligatorias, excepto una (la que marque)...

Muchas gracias!
Attachments:
Last edit: 4 years 7 months ago by brauliofirpo77.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 6 months ago #199858 by Joffm
Replied by Joffm on topic Matriz con una pregunta optativa
Hola,

Dos ideas:
1. Haga la pregunta "non-obligatoria" y valídela
Como:
Ecuación de validación de la pregunta:
!is_empty(Q1_SQ001) AND !is_empty(Q1_SQ002) AND !is_empty(Q1_SQ004) AND ...

2. Permitir "no responder" (NA) a esta pregunta, no a otras


Pegue esto en el fuente HTML
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$('#question{QID} tr.answers-list:eq(0) .answer_cell_96 *').remove();
$('#question{QID} tr.answers-list:eq(3) .answer_cell_96 *').remove();
$('#question{QID} tr.answers-list:eq(4) .answer_cell_96 *').remove();
$('#question{QID} tr.answers-list:eq(5) .answer_cell_96 *').remove();
});
</script>

con "96" el codigo de "no contesta".

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • brauliofirpo77
  • brauliofirpo77's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 6 months ago #199862 by brauliofirpo77
Replied by brauliofirpo77 on topic Matriz con una pregunta optativa
Muchisimas gracias! Ahi me pongo a probar!
The topic has been locked.
  • brauliofirpo77
  • brauliofirpo77's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 6 months ago #199864 by brauliofirpo77
Replied by brauliofirpo77 on topic Matriz con una pregunta optativa
Otra vez, muchas gracias! Funciono perfecto!
The topic has been locked.
Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose