Conditional report elements—ArcGIS Survey123 | Documentation
I'd really like to make ${if} actually ${if}${else}.
For example, I'm rotating any portrait-oriented photos in my report right now. To do this, I still have to make the exact same variable right afterwards to NOT rotate landscape photos.
${if (genphotos.genimage | getValue: “width”) < (genphotos.genimage | getValue: “height”)}${genphotos.genimage | size: 0:0:0:300 | rotate: 90}${/}
${if (genphotos.genimage | getValue: “width”) > (genphotos.genimage | getValue: “height”)}${genphotos.genimage | size: 0:0:0:300}${/}
It would be really nice if I could just have like
${if (genphotos.genimage | getValue: “width”) < (genphotos.genimage | getValue: “height”)}${genphotos.genimage | size: 0:0:0:300 | rotate: 90}${/}
${else}${genphotos.genimage | size: 0:0:0:300}${/}${/}
A lot less text, a lot easier to read, a lot more logical.
Please add in an Else option.