Hi,
It's me again.
I don't know what I'm doing wrong but is not working the hidden feature for a multiple choice question
This is the error: b'ODK Validate Errors:\n>> XForm is invalid. See above for the errors.\norg.javarosa.xform.parse.XFormParseException: Invalid calculate for the bind attached to "${ATD1}": Bad node: org.javarosa.xpath.parser.ast.ASTNodeAbstractExpr@ec756bd in expression if(selected(${Aspectos_TD},\'ATD1'\)1,0)\n\nResult: Invalid'
This is the code in XLSM
I'm placing the If in calculation
This is the list that is on choices:
AspectoTD | ATD1 | Apropiación de tecnologías emergentes |
AspectoTD | ATD2 | Gestión de cambio cultural |
AspectoTD | ATD3 | Liderazgo (desde la JD) |
AspectoTD | ATD4 | Educación Continua |
Does anybody know whats going on?
I would really appreciate your help.
Kuddos,
Ana
Solved! Go to Solution.
So, I think you might just need an extra comma, I added it in red below:
if(selected(${Aspectos_TD}, 'ATD1'),1,0)
So, I think you might just need an extra comma, I added it in red below:
if(selected(${Aspectos_TD}, 'ATD1'),1,0)
THANKS, It works ❤️