Show next set of questions if value of another answer is met.

101
1
02-13-2020 03:08 AM
FilipErkenborn
New Contributor

Hi,

I'm trying to get a set of questions to show if the answer from an earlier question is the same as the answer from yet another question.

The idea is to keep producing a number of questions about sediment layers untill the layer depth reaches the total depth of a sediment sample. So if layer 1 does not reach total depth, then the same questions appear for layer 2 and so on untill layer x reach total depth.

Any idea of how this can be done?

Best regards,

Filip

0 Kudos
1 Reply
Jing_Sun
Esri Contributor

Hi Filip,

I think the solution you are looking for is using 'relevant'.

Relevant can be used to display question based on some conditions. For example, if you put something like 'number(${layer_1_depth}) + number(${layer_2_depth}) + ..... number(${layer_n_depth}) < 100' in a question, it will be displayed if the sum of all layer is less than 100.

This blog explains the 'relevant' and gives many examples: 

https://community.esri.com/groups/survey123/blog/2016/05/28/the-art-of-hiding 

Kind Regards,

Sun