I'm thinking this is likely possible but not sure on the syntax. Say one has two S123 groups, I would like both to be set to the appearance "compact" at load but would only want 1 group open at anytime. So if group1 is expanded, group2 is compacted, if group2 is open, group1 is compacted. Any assistance is appreciated if supported. Thanks.
I don't actually know if this is possible. You can set the initial appearance of a group to be expanded or collapsed, but once the survey loads, the appearance attribute does not appear to be dynamic.
You can sort of do this with the relevant column, but doing so would wipe out your answers, and the value in the relevant column would need to be controlled by some other question. But again, this wipes out answers wherever relevant is "no", so this is not a good idea.
Thanks for looking into the matter Josh. This functionality is not a deal breaker but would save on vertical space and additional clicks since i'm creating a very lengthy survey
Have you tried splitting your questions across multiple pages?
@CN wrote:I'm thinking this is likely possible but not sure on the syntax. Say one has two S123 groups, I would like both to be set to the appearance "compact" at load but would only want 1 group open at anytime. So if group1 is expanded, group2 is compacted, if group2 is open, group1 is compacted. Any assistance is appreciated if supported. Thanks.
Tip: If you move your relevant expression to the body::esri:visible column, you will control the visibility of the question without affecting its values. When a relevant expression is false, the question is hidden and nulled-out. When that same expression is moved into the body::esri:visible, the question is hidden, but the values will remain untouched.
For more details see Question visibility section in this help topic.
Thanks for the info Ismael. Just to be clear for this particular survey, i do not want to hide groups rather just collapse them(the appearance compact setting)...see screenshot below. If nested concrete repair group is expanded i want the rest to be collapsed. I only want the current nested group to be open. Is this possible? if so i'm intently listening. Thanks.