- Posts: 30
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Matriz con una pregunta optativa
- brauliofirpo77
- Topic Author
- Offline
- Junior Member
Less
More
3 years 11 months ago - 3 years 11 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!
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: 3 years 11 months ago by brauliofirpo77.
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12923
- Thank you received: 3977
3 years 11 months ago #199858
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
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".
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
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 30
- Thank you received: 0
3 years 11 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
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 30
- Thank you received: 0
3 years 11 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.