Select to view content in your preferred language

Multiple select svg in repeat not working as expected

275
2
01-30-2025 10:12 AM
KelliW
by
Occasional Contributor

I have an svg file used for a multiple select question within a repeat on one of my forms. There is also a read only text box that shows the text on what was selected on the svg "Soil Description". On the first repeat, it works as expected. The second repeat shows the results of what was selected on the first repeat, then going back to the first repeat it shows everything that is selected in all repeats. All other repeats just seem to build onto the multiselect of the svg instead of acting as its own multiselect question within the repeat. Is this a bug or is there something I am not thinking of that is causing this issue?

I attached the svg file and Survey123 excel table.

KelliW_0-1738258650576.png

 

0 Kudos
2 Replies
SamGatter
Occasional Contributor

Hiya,

It certainly looks like a bug - unfortunately my suggestion would be to keep the select multiple question a drop down list and have the image as a reference but not selectable by the user. This method works, but when you use the SVG it doesn't so not sure if it's an issue when using an SVG like this.

I tried using jr:choice-name and selected-at to try and expose the selected questions differently, however it seems there is something inherently wrong about how the SVG is interacting with the simple functionality you want. 

0 Kudos
abureaux
MVP Frequent Contributor

The image-map implementation is odd. There are a few issues with it, and this appears to be one of those issues. I'd make a case with Esri Support to get it logged (not sure if it has been logged already).

@SamGatterhas given a good solution, and I think the only reasonable alternative at this time.