Are calculated fields supposed to calculate when fields aren't relevant? If so, how can I work around this so they won't. I guess I could use an if statement in front of the calculation.
I tried it with 2.7 and it works great.
Hi Geethaka,
2.7 is scheduled to be released before the end of March 2018.
Phil.
Do you know when version 2.7 will be available?
Thanks everybody. For now it is only a minor issue so I'll just wait for 2.7 to be released. I am very excited to hear that ESRI is addressing this issue and conditionally relevant questions which have also been a minor annoyance. Thank you for listening to your users ESRI.
Yes this will also fix the issue where required non-relevant questions stop the survey from being submitted.
Hi Philip Wilson,
Will this also sort out the issue with "conditionally required questions?"
Currently, if I make a relevant question mandatory. The users still have to fill in answer, even if the question is not relevant (hidden).
Gee
Thanks for letting me know. As, I had some workflows, which relied on this behaviour
I might change those question types to "hidden" instead.
While this works currently in version 2.6 or earlier, from 2.7 onward it will not work as per my comment below.
Hi Christopher,
In version 2.6 or earlier of the app, yes if a question is non-relevant and contains a calculation, the calculation will still be executed, and the value stored and submitted to feature service (provided field type is not null). This is not the expected or intended behaviour of non-relevant questions, as if a question is not relevant it should not have an answer.
Therefore, from version 2.7 onward (to be released in coming weeks), we have resolved this issue and calculations in non-relevant questions will not be executed and no values will be stored or submitted from non-relevant questions.
Regards,
Yes, the calculate fields will STILL update, even when it doesn't meet the relevant field criteria.
The relevant fields will ONLY hide or reveal questions based on previous answers.
And yes, you'll have to use an IF condition in the calculate field
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.