I have a Multiple Numeric Input question with a very specific problem. Examples below:
- I need it to only show the answer "Hardware" if the user checked "Computers", "Tablets" and/or "Monitors", etc in a previous question. If the user did not mentioned selling things that classify as Hardware previously, I like it to set Hardware to 0 and hide the "Hardware" answer.
- It should only show "Services" if the user checked "Support", "Maintenance", etc in a previous answer. Else, it should set "Services" to 0 and hide the answer.
As you can see, it's definitely not a direct array filter. Is it doable?
It works! But it creates a weird problem. Now I get a lot of SGQA identifiers printed to the end of the question, in the place where it should present the sum of the numeric fields and how much was missing to sum 100%. See the attached screenshot:
Now I gotta find a way to still have the sum of numeric fields and remaining to 100%, but hide all this SGQA.
Sure, I exported the question to LSQ and attached it here. Let me know what else you need, or if you want an URL to access the survey.
I have just checked that when I add anything to the subquestion relevance of any answer, I get this weird output . If I clear the relevance fields for all answers, the weird output disappears and the sum/remaining of numeric fields starts working again.
Have you tried it with a different template? I can see that you are not using one of the templates that comes with Limesurvey, but the one for Toolsforresearch. What happens if you switch to the default template?
Help us to help you!
Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
But only one question (.lsq) will not help, because this is based on more than one question, right? So please export the survey or at least the question group, that contains all relevant questions to make this work or reproduce the problem.
Help us to help you!
Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
I would assume that there is some kind of error in the template (probably some open "{" or something. Have a look in the source code of the template that generates the problem. And maybe have the user @Tammo informed. He is responsible for the tfr template and he might be able to look into this.
Um abraço desde São Paulo.
Help us to help you!
Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
Maybe I can spot the problem by comparing the question in the default vs. TFR template using Chrome Dev Tools, if its something easy like a missing }. I'll definitely try that but for now I'll have to give up TFR and go back to the default template, I got like one hour to publish this survey...