Came across an earlier question that noted there is no if/else syntax in Survey123 Connect. I'm trying to display a different map based on a dropdown menu of five or so choices. In most languages I could do this with a switch or if/else. The answer seemed to suggest chaining a bunch of if(selected(${}), selectedMap, defaultMap) statements, but that doesn't seem to work.
Basically, visually:
if(selected(${mapChoice}, "A"), map=routetomapA, map=routetoDefault), if(selected(${mapChoice}, "B"), map=routetomapB, map=routetoDefault)
Just curious how I'd actually get this to work. Or if there's a simpler way to get this to work. What the above does is simply always show me the default map, which never changes despite changing the map choice drop down.