Using if-conditions in appearance column?

Hi

We have two types of data collectors and to each group, we need to give the list of sites with different filters. Currently, this is solved by two different variables (with different “relevant” conditions) which then get merged through the calculation: concat(${site_select_impl},${site_select_geo}))
image

The problem is that we cannot edit the calculated field after the form is saved to the server (which we occasionally have to do) – if we edit the two select_one fields, the form isn’t recalculated in order to fill the calculated field.

An alternative solution would be to use an if-condition in the appearance column. Does this work?

What doesn’t work is:
if(selected(${collector_type},‘A’),minimal search(‘facilities_xx’,‘contains’, ‘label’, *, ‘flt_geoinstorg’, ${geo_org}),minimal search(‘facilities_xx’,‘contains’, ‘flt_geoinstorg’, ${geo_only}))

Hi, maybe a similar discussion in the ODK forum is interesting for you: Is it possible to have annotate appearance and max-pixels parameter be dynamic? - Support - ODK Forum.

Thanks for the hint. Do I read that very technical contribution correctly, if I translate into: No, “if”-expressions in the appearance column are not working?