Hi there. My jr:choice-name expression in the calculation column is working well in the survey 123 connect, but when it turns to the web form, it isn't working. However, a similar jr:choice-name expression for another similar question is working both in survey 123 connect and the web form.
Seems that I don't have permission to upload images. Is there any other way for me to better describe my issues with you?
To help troubleshoot the jr:choice-name() issue between Survey123 Connect and the web form, it would be helpful if you could share:
The exact calculation expression you're using.
The name of the select question you’re referencing in jr:choice-name().
The choices sheet entries (label and name) for that select question.
Whether the question is in a repeat or not — this can impact behavior in web forms.
Any relevant bind::type or bind::esri:fieldType entries from your XLSForm.
You can copy-paste the relevant rows from your XLSForm (survey and choices sheets) here — that will be the next best thing to uploading screenshots.
The browser (web form) is much more strict on syntax than Connect, so it is likely a syntax issue. Carefully check your calculation looking at commas, quotes, capitalization, spelling, etc.
It might help you to copy/paste the working and nonworking calculations into a notepad so you can better compare the two to see if there are any differences (other than the field names).