Select to view content in your preferred language

A calculation expression is working in survey 123 connect but not in the web form

169
2
07-24-2025 03:25 PM
HuiDing
New Contributor

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?

 

 

0 Kudos
2 Replies
VenkataKondepati
Occasional Contributor

To help troubleshoot the jr:choice-name() issue between Survey123 Connect and the web form, it would be helpful if you could share:

  1. The exact calculation expression you're using.

  2. The name of the select question you’re referencing in jr:choice-name().

  3. The choices sheet entries (label and name) for that select question.

  4. Whether the question is in a repeat or not — this can impact behavior in web forms.

  5. 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.

JenniferAcunto
Esri Regular Contributor

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). 

- Jen
0 Kudos