Select to view content in your preferred language

Survey 123 form Error: Initializing form... Error: not a object

5299
43
Jump to solution
05-06-2025 03:32 AM
PaulSweeney3
Frequent Contributor

Hi All 

See screen shot below that is appearing intermittently across our forms emebedded in  dashboards 

PaulSweeney3_0-1746527420296.png

the same dashboards were working fine a few days ago and no changes have been made to either the form or dashboard. it only occurs when the form is opened in edit mode. the globalid is present in the feature layer also . 

43 Replies
Marc_Patti
Occasional Contributor

Started receiving this error in the web app today after I published changes from Connect.  Nothing has resolved the issue thus far and we've lost access to a pretty critical inspection form for our township. 

0 Kudos
EddyClark
Frequent Contributor

Getting the error too.  

0 Kudos
MelanieWhalen
New Contributor

Does anyone have an install of 3.21?  I have 3.22 which doesn't work, and I cannot find a download file for 3.21.

0 Kudos
KatyFlaherty
Emerging Contributor

Hello Melanie,I republished my surveys using the 3.22 connect this morning, and had the same issue everyone else was having. The surveys are fine to be updated with 3.22 Connect but the Dashboard URL needs to contain 'version=3.21' and they will still work even with the version stating rematch.

KatyFlaherty_0-1746632178150.png

 

JamesTedrick
Esri Esteemed Contributor

Hello,

An issue has been identified with the display of the results of calculations in note questions or used in variable interpolation on the web form.  We are working to develop a fix and deploy it as soon as practical.  A possible workaround would be to use the ?version=3.21 URL parameter to revert to a previous version of the Survey123 web form.

ThomasHamill
Frequent Contributor

Given this issue, for active surveys would it help to change the appearance visibility to hidden (on those calculations/note questions that might be causing the error)?

Kindest Regards,

t
0 Kudos
GISAdministrator_LMCC
Occasional Contributor

Also getting this error in Experience Builder online, using the Survey123 widget to view previous survey submissions. When editing previous survey submissions, it works fine.

There's no option for me to change which version of the form is displayed, as there is no URL to edit.

GISAdministrator_LMCC_0-1746663271608.png

 

0 Kudos
ThomasHamill
Frequent Contributor

This doesn't seem solved yet, as some users have reported being unable to make the "version=3.21" solution work.

Any way the team can disable/revert the Solved! Go to Solution indicator until a consistently reliable solution has been found?

Kindest Regards,

t
ZhifangWang
Esri Regular Contributor

Hello everyone,

We have identified an issue in the Survey123 May 2025 Update: when using Survey123 Connect, a calculation for a readonly text or note question may not function as expected and can even cause the survey to fail to load.

Current workaround:

  • For any note or readonly text question using a calculation, wrap the calculation in HTML <p> tags. For example, if the original calculation is ${int1}, change it to concat('<p>', ${int1}, '</p>'), then republish the survey.
  • Alternatively, for non-production surveys, use the beta version of the Survey123 website at https://survey123beta.arcgis.com, which includes a potential fix.

Note: ?version=latest in URL is the only supported value in the documentation. Unless you have fully tested, using an old version number may cause other issues.

We appreciate your understanding and have planned a fix for early next week to address this issue. Please let us know if you still observe any issues on the beta website.

ThomasHamill
Frequent Contributor

Thank you @ZhifangWang, that workaround in your first bullet point with the suggestion to add HTML <p> tags around the read-only calculation appears to have worked and resolved the "Error: Initializing form... Error: not a object" pop-up with at least two other users also having tested and confirmed success.

Kindest Regards,

t