<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Survey works in app, errors in web initializing form in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-works-in-app-errors-in-web-initializing/m-p/793565#M8832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/354657"&gt;LILIANA JURADO&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After taking a look at your XLSForm and external CSV's, it appears that this issue is being caused by an empty column in your 'Caligeo' CSV.&amp;nbsp; Please delete this column in the CSV, save, and republish the survey using Survey123 Connect.&amp;nbsp; Let me know if this resolves the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Brandon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2019 19:03:03 GMT</pubDate>
    <dc:creator>BrandonArmstrong</dc:creator>
    <dc:date>2019-02-21T19:03:03Z</dc:date>
    <item>
      <title>Survey works in app, errors in web initializing form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-works-in-app-errors-in-web-initializing/m-p/793561#M8828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a survey that pulls data from a CSV file stored in the media folder. Survey works great in Connect and the windows Survey123 app.&amp;nbsp; However, when launching the survey in the browser it fails with the following error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H4 style="color: #000000; background-color: #ffffff; font-weight: bold; font-size: 18.75px;"&gt;Error: Initializing form...&lt;/H4&gt;&lt;DIV style="color: #000000; background-color: #ffffff;"&gt;&lt;UL&gt;&lt;LI style="padding: 10px 0px;"&gt;FormLogicError: instance "AllterraRates" does not exist in model&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help troubleshooting the issue.&amp;nbsp; We want to exclusively use the survey in the web browser if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using&lt;/P&gt;&lt;P&gt;Connect version 3.2.196&lt;/P&gt;&lt;P&gt;Survey123 on window version 3.3.26&lt;/P&gt;&lt;P&gt;Chrome version&amp;nbsp;72.0.3626.96&lt;/P&gt;&lt;P&gt;Published to AGOL, currently&amp;nbsp;shared with an internal group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Wayne&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2019 19:24:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-works-in-app-errors-in-web-initializing/m-p/793561#M8828</guid>
      <dc:creator>WayneDodgens1</dc:creator>
      <dc:date>2019-02-07T19:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Survey works in app, errors in web initializing form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-works-in-app-errors-in-web-initializing/m-p/793562#M8829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wayne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After taking a look at your XLSForm I see that you have included the pulldata function several times within&amp;nbsp;the same calculation column for a question which includes references to values from other preceding questions.&amp;nbsp; For use with the web app you will need to separate each pulldata calculation into its own question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, in your form, you will need to have 3 separate questions which pull their respective values (these can each be type calculate), then reference those questions in the calculation of a succeeding question which performs multiplication against the values you'd like to reference from preceding questions.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance, you current calculation is the following...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;(pulldata('AllterraRates', 'Daily', 'Equipment',&amp;nbsp; jr:choice-name(${Equip}, '${Equip}')) * ${EquipRentalDays} * ${EquipNoUnits}) + (pulldata('AllterraRates', 'Weekly', 'Equipment',&amp;nbsp; jr:choice-name(${Equip}, '${Equip}')) * ${EquipRentalWeeks} * ${EquipNoUnits}) + (pulldata('AllterraRates', 'Monthly', 'Equipment',&amp;nbsp; jr:choice-name(${Equip}, '${Equip}')) * ${EquipRentalMonths} * ${EquipNoUnits})&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to split it up into separate parts so that the web app can process it.&amp;nbsp; Consider the following...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;question_1: pulldata('AllterraRates', 'Daily', 'Equipment',&amp;nbsp; jr:choice-name(${Equip}, '${Equip}'))&amp;nbsp;&lt;/P&gt;&lt;P&gt;question_2: (${question_1}* ${EquipRentalDays} * ${EquipNoUnits})&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;question_3:&amp;nbsp;pulldata('AllterraRates', 'Weekly', 'Equipment',&amp;nbsp; jr:choice-name(${Equip}, '${Equip}'))&lt;/P&gt;&lt;P&gt;question_4:&amp;nbsp;(${question_3}* ${EquipRentalWeeks} * ${EquipNoUnits})&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;question_5: ('AllterraRates', 'Monthly', 'Equipment',&amp;nbsp; jr:choice-name(${Equip}, '${Equip}'))&lt;/P&gt;&lt;P&gt;question_6: (${question_5} * ${EquipRentalMonths} * ${EquipNoUnits})&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;question_7:&amp;nbsp;(${question_2}+ ${question_4}+ ${question_6})&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will upload an example of an edited version of your XLSForm which is working upon making these changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know how it goes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Brandon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2019 21:20:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-works-in-app-errors-in-web-initializing/m-p/793562#M8829</guid>
      <dc:creator>BrandonArmstrong</dc:creator>
      <dc:date>2019-02-07T21:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Survey works in app, errors in web initializing form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-works-in-app-errors-in-web-initializing/m-p/793563#M8830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brandon,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for reviewing and the reply.&amp;nbsp; Splitting the pulldata functions up did the trick. I had to republish as a new survey because the original survey would hang on the 'Getting form information' step of the publish process after making the suggested changes. But that is minor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps adjust the documentation to clarify that only one pulldata() function per calculate field is allowed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to you and the Survey123 team for being so responsive on this forum and the continued development of the tool. We keep finding new uses for the surveys.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wayne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 02:23:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-works-in-app-errors-in-web-initializing/m-p/793563#M8830</guid>
      <dc:creator>WayneDodgens1</dc:creator>
      <dc:date>2019-02-08T02:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Survey works in app, errors in web initializing form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-works-in-app-errors-in-web-initializing/m-p/793564#M8831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brandon Armstrong, I am having now the same problem that Wayne. I have some pulldata functions in my survey, and when I try to open it in the web page it appears to me the message:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Error: Initializing form...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Although it is a little weird because the first pulldata function works perfectly, and the second does not, but both of them work in the survey App. I have already done what you said, splitting the functions, but it still does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Documents:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://drive.google.com/drive/folders/1TA66LccxrDNLSFYVr7a04YYo-61FiqOP?usp=sharing" title="https://drive.google.com/drive/folders/1TA66LccxrDNLSFYVr7a04YYo-61FiqOP?usp=sharing"&gt;Archivos geonet - Google Drive&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2019 13:53:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-works-in-app-errors-in-web-initializing/m-p/793564#M8831</guid>
      <dc:creator>CUARTA_OPORTUNIDADLOCAL</dc:creator>
      <dc:date>2019-02-21T13:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Survey works in app, errors in web initializing form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-works-in-app-errors-in-web-initializing/m-p/793565#M8832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/354657"&gt;LILIANA JURADO&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After taking a look at your XLSForm and external CSV's, it appears that this issue is being caused by an empty column in your 'Caligeo' CSV.&amp;nbsp; Please delete this column in the CSV, save, and republish the survey using Survey123 Connect.&amp;nbsp; Let me know if this resolves the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Brandon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2019 19:03:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-works-in-app-errors-in-web-initializing/m-p/793565#M8832</guid>
      <dc:creator>BrandonArmstrong</dc:creator>
      <dc:date>2019-02-21T19:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Survey works in app, errors in web initializing form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-works-in-app-errors-in-web-initializing/m-p/793566#M8833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brandon!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You were totally right, I have deleted that column and everything now works great.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Thank you very much!!&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2019 15:28:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-works-in-app-errors-in-web-initializing/m-p/793566#M8833</guid>
      <dc:creator>CUARTA_OPORTUNIDADLOCAL</dc:creator>
      <dc:date>2019-02-25T15:28:46Z</dc:date>
    </item>
  </channel>
</rss>

