Hello,
Within a survey (being authored through Connect), we have a question group with a single geoshape question. The question group has the 'field-list' appearance. We want to hide this question group if the answer to a previous question (${geom_edit_desired}) is 'no', and for that we use the 'relevant' column with the following value:
${geom_edit_desired}='yes'
The survey will ALWAYS be opened either in copy or in edit modes.
This is our problem:
In other words, we need to conditionally hide the geoshape question while at the same time maintaining the existing feature geometry.
What I have tried (to no avail):
if(${geom_edit_desired}='yes', 'field-list', 'hidden'}
if(${geom_edit_desired}='yes', 'null', '')
// In the 'calculate' question:
if(${geom_edit_desired}='yes', 'field-list', 'hidden')
// And then in the 'appearance' column of the geoshape question:
${<calculate_apperance_question>}
Thank you.
Solved! Go to Solution.
I think what you want here is the new way to hide using the body::esri:visible column. It works like relevant but does not set to null - it only hides it.
Give that a shot
I think what you want here is the new way to hide using the body::esri:visible column. It works like relevant but does not set to null - it only hides it.
Give that a shot
Yes, yes, and yes! That worked. Thank you!