Select to view content in your preferred language

Reusing a survey group

719
5
11-13-2017 11:04 AM
RalphBradt1
Emerging Contributor

My survey will collect noxious weed data if the "event" chosen is Weed (relevant expression is ${Event} = 'Weed'). If a campsite inventory is being done and there are weeds (${Camp_weeds} = 'yes'), I would like to return to the weed group and collect that noxious weed data. Is there a way to modify the relevant expression for the weed group so that if either ${Event} = 'Weed' or ${Camp_weeds} = 'yes', the surveyor can collect that same weed data?

0 Kudos
5 Replies
BrandonArmstrong
Esri Regular Contributor

Hi Ralph,

I believe that you should be able to accomplish the desired result by placing your exact formula into the relevant column for the 'begin group' question.  Have you attempted to do so and run into issues?

Brandon

0 Kudos
RalphBradt1
Emerging Contributor

I don't seem to be able to figure out the way to state the formula in the begin_group's relevant column. I have tried a number of ways without success to get the begin_group to accept either of the two expressions. I can get it to accept one, but not either.

0 Kudos
BrandonArmstrong
Esri Regular Contributor

Can you please upload your XLSForm to the thread, or send to me via private message on GeoNet?  I would like to take a closer look at your specific survey.

0 Kudos
RalphBradt1
Emerging Contributor

I may have been over thinking this, thinking the formula would be more complex than (${Event} = 'Weed')or(${Camp_weeds} = 'yes'). I tried that and now it seems to be working. Thanks, Brandon! Guess I just needed to think about it another way. Now if I can just get the data to show up in the table, I'll be good.

0 Kudos
BrandonArmstrong
Esri Regular Contributor

Great to hear that it is working.  You should be fine to drop the parentheses as well.  So, it should work to use the following...

${Event}='Weed' or ${Camp_weeds}='yes'

0 Kudos