<?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 Survey123 Calculation Functions in Web Browser, but not in App in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-calculation-functions-in-web-browser-but/m-p/777020#M5271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I’ve hit a wall building a Survey123 form in SurveyConnect&amp;nbsp;I've built to track smoke detector installations across the county I work for. I’ve used SurveyConnect My reason for using SurveyConnect was to get more control of how data is input and include some fields autofill based on a boolean logic. My thought was if a user selected, “No”, that the quantity (0) would be auto-filled behind the scenes, with the notes fields that I would later hide. Whereas, if a user selected, “Yes”, they are able to see the next integer field and input a number of the phenomena of interest (People above or below a certain age, number of detectors installed, etc).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to get the behavior I wanted and published the form. However, post-publishing the form no longer autofills fields as I described. I’m able to get the behavior I want if I access the from through a browser, but it doesn’t function in Connect. In fact, when I try to bring the form into connect, it errors out, though I’ve specified my portals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here’s the browser-based version of the published form where the calculations work as I want to them to, minus the number of occupants under 18, which I need to edit, but am currently unable to. See the other boolean questions to get an idea of what I want from the behavior of the form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://survey123.arcgis.com/share/b99aee21ee80408992944f70a80cfdd0" title="https://survey123.arcgis.com/share/b99aee21ee80408992944f70a80cfdd0"&gt;https://survey123.arcgis.com/share/b99aee21ee80408992944f70a80cfdd0&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Nick Thompson&lt;/P&gt;&lt;P&gt;GIS Analyst&lt;/P&gt;&lt;P&gt;Rutherford County, TN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jan 2019 15:15:08 GMT</pubDate>
    <dc:creator>NickThompson2</dc:creator>
    <dc:date>2019-01-23T15:15:08Z</dc:date>
    <item>
      <title>Survey123 Calculation Functions in Web Browser, but not in App</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-calculation-functions-in-web-browser-but/m-p/777020#M5271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I’ve hit a wall building a Survey123 form in SurveyConnect&amp;nbsp;I've built to track smoke detector installations across the county I work for. I’ve used SurveyConnect My reason for using SurveyConnect was to get more control of how data is input and include some fields autofill based on a boolean logic. My thought was if a user selected, “No”, that the quantity (0) would be auto-filled behind the scenes, with the notes fields that I would later hide. Whereas, if a user selected, “Yes”, they are able to see the next integer field and input a number of the phenomena of interest (People above or below a certain age, number of detectors installed, etc).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to get the behavior I wanted and published the form. However, post-publishing the form no longer autofills fields as I described. I’m able to get the behavior I want if I access the from through a browser, but it doesn’t function in Connect. In fact, when I try to bring the form into connect, it errors out, though I’ve specified my portals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here’s the browser-based version of the published form where the calculations work as I want to them to, minus the number of occupants under 18, which I need to edit, but am currently unable to. See the other boolean questions to get an idea of what I want from the behavior of the form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://survey123.arcgis.com/share/b99aee21ee80408992944f70a80cfdd0" title="https://survey123.arcgis.com/share/b99aee21ee80408992944f70a80cfdd0"&gt;https://survey123.arcgis.com/share/b99aee21ee80408992944f70a80cfdd0&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Nick Thompson&lt;/P&gt;&lt;P&gt;GIS Analyst&lt;/P&gt;&lt;P&gt;Rutherford County, TN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2019 15:15:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-calculation-functions-in-web-browser-but/m-p/777020#M5271</guid>
      <dc:creator>NickThompson2</dc:creator>
      <dc:date>2019-01-23T15:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Calculation Functions in Web Browser, but not in App</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-calculation-functions-in-web-browser-but/m-p/777021#M5272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not seeing any questions with expressions in the relevant column - for example, the under18 question has&amp;nbsp;a calculation that seem more appropriate for the relevant column. After moving all of the functions that begins with 'selected' to the relevant column, the form appears to hide/show questions appropriately. &amp;nbsp;One thing to note is that you have several questions that involve 2 questions, one of which would have relevancy dependent on the other. &amp;nbsp;These will probably not work in the way you expect- with 3.0, a change was made to enforce non-relevant questions having no value, so the 'and' statements you have will likely never be true.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2019 00:20:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-calculation-functions-in-web-browser-but/m-p/777021#M5272</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2019-01-24T00:20:32Z</dc:date>
    </item>
  </channel>
</rss>

