Hi,
I am getting following error while calculating family size based on Number of adults and number of children in the family.
FormLogicError: Could not evaluate: Family Size is /model/instance[1]/amiXseUY7DnKAygQyQcQq8/adults + /model/instance[1]/amiXseUY7DnKAygQyQcQq8/children, message: not sure how to handle expression called on nodeset that doesn’t start with a ‘/’: Size{“stack”:[{“t”:“root”,“tokens”:[{“t”:“arr”,“v”:}]}],“cur”:{“v”:“Size”}}
@Asmita, you should now be able to upload your XLSForm (cc: @osmanburcu). You could also validate your XLSForm through this online validator to see if there are any syntax issues that are returning the error.
I reviewed your form, the problem with your form is you are using the wrong type of question. if you would like to show the calculated value you need to use the note type of question but you are trying to use calculate type of question. You can find the edited version of your form below
Thank you osmanburcu! This helps.
Also, does one need to always use a calculate question first followed by a note that refers to the previous calculation question? Or the note question can calculate in itself?
This two is different kind of questions type so to make a calculation you need to use the calculate type of questions, note type of question is only to present/show some note or information. They can not do each others work unfortunately