Select to view content in your preferred language

Survey 123 form not loading correctly in browser

1494
4
04-12-2019 08:24 AM
HelenDivilly
Emerging Contributor

Hello,

I have a designed a form in Survey 123 Connect Version 3.3.51 and have uploaded to Survey 123. If I complete the form in the Survey 123 app everything works fine. However the survey is not loading correctly in a browser (Chrome). I get the following error:

Error: Initializing form.... 

TypeError: e split is not a function

If I close the error box the form appears but questions with relevancy conditions are not appearing correctly, for example question  9/10.

I have attached the survey, and would appreciate greatly any tips or advice,

Thank you!

Tags (1)
0 Kudos
4 Replies
KassandraRodriguez
Frequent Contributor

Maybe remove the space in the front here

0 Kudos
HelenDivilly
Emerging Contributor

Thanks, but unfortunately that did not resolve the issue!

0 Kudos
by Anonymous User
Not applicable

Hi Helen,

Having a quick look at your xslx form, I think you are using the constraint column incorrectly. By the looks of it you should be using an input mask if you want only allow 7 digits or 11 digits to be entered: https://doc.arcgis.com/en/survey123/desktop/create-surveys/esricustomcolumns.htm#ESRI_SECTION1_2D9AA...

Otherwise if you don't want to use input masks, in the constraint column use a string length expression to ensure the length matches the value you want. Just putting the number in there does not work the way you are expecting and is likely what is causing the error on load on web app. https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION1_276FB77...

Phil.

HelenDivilly
Emerging Contributor

Thanks Philip!