Welcome to the LimeSurvey Community Forum

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

CONDICION EN MATRIZ NUMERICA

  • yuleidis
  • yuleidis's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 5 days ago #263372 by yuleidis
CONDICION EN MATRIZ NUMERICA was created by yuleidis
Please help us help you and fill where relevant:
Your LimeSurvey version: url=https://community.limesurvey.org/]LimeSurvey Community Edition[/url] [url=https://www.realsumformularios.com/limesurvey/index.php?r=questionAdministration/view&surveyid=298773&gid=152&qid=4887#modalSystemInformation]Versión 6.2.11+231007 [/url
Own server or LimeSurvey hosting: PROPIO
Survey theme/template: FRUITY
==================
(Write here your question/remark)

buenas, tengo una duda quiero que en mi matriz donde dice RANGO CARTERA aparezca el nombre "sin vencer" cuando el usuario digite el numero cero en el campo  MINIMO DE DIAS si pone un numero diferente de 0 que muestre en RANGO CARTERA los numero ingresados por el usuario en los campos llamados MINIMO DE DIAS Y MAXIMO DE DIAS separados por un guion, ya hice una formula pero no me esta tomando el valor de los dos campos solo el guion. 


acontinuacion  abjunto imagenes de los codigos de las subpreguntas.
Agradezco su ayuda y si me puede enviar un lss mucho mejor gracias.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 week 4 days ago #263395 by Joffm
Replied by Joffm on topic CONDICION EN MATRIZ NUMERICA
Eso es obvio.
Siempre se muestra la fórmula Q2b+" - "+Q2c.
Si Q2b y Q2c todavía están vacíos, el guión sigue ahí.
También debe excluir eso,
if(!is_empty(Q2b) and !is_empty(Q2c),Q2b+' - '+Q2c,"")

Acabo de enviarte un pequeño esqueleto para que veas cómo funciona.
El ajuste depende de ti.

Joffm

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

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose