<?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: Calculate field type in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/1222964#M45394</link>
    <description>&lt;P&gt;How do we take the result of the calculation and display as a field in the form?&lt;/P&gt;</description>
    <pubDate>Tue, 18 Oct 2022 18:19:15 GMT</pubDate>
    <dc:creator>JohnMedema</dc:creator>
    <dc:date>2022-10-18T18:19:15Z</dc:date>
    <item>
      <title>Calculate field type</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/773069#M4330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any information on the "calculate" field type? It is listed as a valid field type in the XLSForm "types" worksheet, but I can't find any information in the Survey123 help on this.&amp;nbsp;And the "Calculations" sample uses the "calculation" column, but does not use the "calculate" field type.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2017 23:43:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/773069#M4330</guid>
      <dc:creator>ShaneClarke</dc:creator>
      <dc:date>2017-11-30T23:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate field type</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/773070#M4331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shane,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As described in&amp;nbsp;&lt;A class="link-titled" href="http://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformessentials.htm#ESRI_SECTION1_7D01DF0EF9E24EC281FFDD321ED14FA8" title="http://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformessentials.htm#ESRI_SECTION1_7D01DF0EF9E24EC281FFDD321ED14FA8"&gt;XLSForm essentials—Survey123 for ArcGIS | ArcGIS&lt;/A&gt;&amp;nbsp;, calculate questions are designed to hold the results of calculations based on other questions. &amp;nbsp;For example, if you are inventorying vehicles, you can have separate questions for the number of passenger cars, trucks and cargo vans. &amp;nbsp;you can have a fourth question that is the total number of vehicles that adds together the previous 3. &amp;nbsp;Calculate questions are not displayed on the form, as they are automatically calculated without the survey taker's interaction. &amp;nbsp;More information on the type of calculations that can be done in a&amp;nbsp;form is at&amp;nbsp;&lt;A class="link-titled" href="http://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm" title="http://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm"&gt;Formulas—Survey123 for ArcGIS | ArcGIS&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2017 16:20:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/773070#M4331</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2017-12-01T16:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate field type</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/773071#M4332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, James!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2017 17:37:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/773071#M4332</guid>
      <dc:creator>ShaneClarke</dc:creator>
      <dc:date>2017-12-01T17:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate field type</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/1214050#M44900</link>
      <description>&lt;P&gt;Okay, can anyone tell me what the point of a "calculate" field type is?&amp;nbsp; You still have to add another field to feature layer if you want to use it.&amp;nbsp; What is the difference between that and just a hidden question?&amp;nbsp; What am i missing here?&amp;nbsp; They would actually be a really handy thing to have if you didnt have to add another field to your feature layer eveytime you wanted to use it. As far as i can tell though they are completely redundant.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 01:14:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/1214050#M44900</guid>
      <dc:creator>Scott_Sambell</dc:creator>
      <dc:date>2022-09-20T01:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate field type</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/1219545#M45207</link>
      <description>&lt;P&gt;Hey Scott -&lt;/P&gt;&lt;P&gt;To avoid adding another field to your feature you can set the 'bindEsriFieldType' to null. This prevents the field from being a part of your feature. You can then use the calculation value from the calc field to populate a field in your form that DOES exist in the feature. It is a bit cumbersome and kind of roundabout. I typically like to perform calcs directly in the needed field; if that isn't practical then I default to javascript. Hope that is helpful!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 19:08:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/1219545#M45207</guid>
      <dc:creator>ChrisCarver</dc:creator>
      <dc:date>2022-10-06T19:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate field type</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/1219590#M45209</link>
      <description>&lt;P&gt;Hi Chris.&amp;nbsp; Okay so if i set bindEsriFieldType to Null i an use the "calculate" field type as intended?&amp;nbsp; Awesome.&amp;nbsp; That's really handy. I knew there must be a logical reason for having it.&amp;nbsp; Thanks heaps!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 20:18:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/1219590#M45209</guid>
      <dc:creator>Scott_Sambell</dc:creator>
      <dc:date>2022-10-06T20:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate field type</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/1219604#M45210</link>
      <description>&lt;P&gt;No problem! Glad I could help!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 20:51:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/1219604#M45210</guid>
      <dc:creator>ChrisCarver</dc:creator>
      <dc:date>2022-10-06T20:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate field type</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/1222964#M45394</link>
      <description>&lt;P&gt;How do we take the result of the calculation and display as a field in the form?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 18:19:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/1222964#M45394</guid>
      <dc:creator>JohnMedema</dc:creator>
      <dc:date>2022-10-18T18:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate field type</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/1222968#M45395</link>
      <description>&lt;P&gt;Hey John - reference the value of the calc field by using its field name like so: ${myCalculatedField} in your formulas. So if you have a field called 'sum' that adds two other fields 'fieldOne' and 'fieldTwo', the calculation column for 'sum' would look like this: .=${fieldOne} + ${fieldTwo}&lt;/P&gt;&lt;P&gt;Then to reference 'sum' somewhere else, you can use the field reference as the default value, like so: ${sum}&lt;/P&gt;&lt;P&gt;Does that help?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 18:24:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/1222968#M45395</guid>
      <dc:creator>ChrisCarver</dc:creator>
      <dc:date>2022-10-18T18:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate field type</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/1223015#M45400</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;Im confused.&amp;nbsp; Here is how my excel is currently formatted.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;type = calculation&lt;/P&gt;&lt;P&gt;name = surveylength&lt;/P&gt;&lt;P&gt;label = ${surveylength}&lt;/P&gt;&lt;P&gt;calculation field = ${surveylength} = ${endstation} - ${bgnstation}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;begin station and end station are both type decimal and require user input.&lt;/P&gt;&lt;P&gt;what am I missing?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 19:27:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/1223015#M45400</guid>
      <dc:creator>JohnMedema</dc:creator>
      <dc:date>2022-10-18T19:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate field type</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/1223022#M45403</link>
      <description>&lt;P&gt;Hey John,&lt;/P&gt;&lt;P&gt;So Close!!! Just cut off the red part here:&amp;nbsp;&lt;SPAN&gt;&lt;FONT color="#FF0000"&gt;${surveylength} =&lt;/FONT&gt; ${endstation} - ${bgnstation}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrisCarver_0-1666122185493.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/53869i41C907230CFBB830/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChrisCarver_0-1666122185493.png" alt="ChrisCarver_0-1666122185493.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Had to edit this because the word 'snip' must include the 's'......&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 19:45:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/1223022#M45403</guid>
      <dc:creator>ChrisCarver</dc:creator>
      <dc:date>2022-10-18T19:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate field type</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/1223479#M45431</link>
      <description>&lt;P&gt;Thank you Chris&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 17:59:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/1223479#M45431</guid>
      <dc:creator>JohnMedema</dc:creator>
      <dc:date>2022-10-19T17:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate field type</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/1223488#M45433</link>
      <description>&lt;P&gt;You bet! Happy to help!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 18:16:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculate-field-type/m-p/1223488#M45433</guid>
      <dc:creator>ChrisCarver</dc:creator>
      <dc:date>2022-10-19T18:16:04Z</dc:date>
    </item>
  </channel>
</rss>

