I love using jr:choice-name() to return labels associated to select_one and select_multiple question. But I haven't been able to use it in the Instance_Name setting. It throws an invalid error.
I've only tested this on a windows 10 PC with the latest Survey123 field app.
Hi @KPyne,
jr:choice-name is currently not supported for instance_name. This also applies if the instance_name references a question with a calculation that uses jr:choice-name.
I encourage you to submit an enhancement request via Esri Support. Our Support team will assign an official enhancement number for your records. Similar requests from other customers can then be attached to the same enhancement request, which helps us assess demand for the enhancement and prioritize it accordingly.
Regards,
Phil.
Tip: Use a calculate question in your main survey worksheet and set its esriFieldType to null. Then reference your calculate in the instance_name expression.
Good catch,
I love how @IsmaelChivite's brain works because this is a clever hack.
The only change I would make is Do Not set the esriFieldType to null if you want to see the data in your instance_name expression. Because you need the answer in Survey123 so it can pull that data.
Have a spatial day, keep plugging away!
As of Survey123 Connect version 3.17, this is still an issue. For those interested, there is an enhancement logged: ENH-000147356. Open a ticket with ESRI support to be attached to the same enhancement number to follow for updates and future implementation.
Hi @Anonymous User ,
Was there any update on this feature or was there a way to be added to the enhancement request?
Thanks!
Hello, I wanted to 2nd the request for this enhancement.
I have a multi-stage process in Survey123 & use the instance name settings to make the inbox readable. The titles would be even more clear if jr:choice-name were supported for instance_name.
Ah thanks Philip, I misunderstood the original question thinking GFernando was able to use jr:choice-name() in a calculate question. I will revise the calculation
Oddly enough, the values do appear correctly in the sent/draft folder
Hello,
I can not seem to get this to work....I have a calculate question that uses jr:choice-name to populate the label value. It works fine throughout the form. But when called in the instance name it is blank
Using the latest iOS field app
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.