<?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: how do I provide a default value based on a response to a previous question in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/how-do-i-provide-a-default-value-based-on-a/m-p/803540#M11423</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Survey123 terms, what you are asking for is to &lt;EM&gt;calculate&lt;/EM&gt; a value based on a previous question. &amp;nbsp;You can do this in the calculation column - see&amp;nbsp;&lt;A class="link-titled" href="http://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION1_DB5A29AC645F4AE585D7CEA9E6D5A36B" title="http://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION1_DB5A29AC645F4AE585D7CEA9E6D5A36B"&gt;Formulas—Survey123 for ArcGIS | ArcGIS&lt;/A&gt;&amp;nbsp;. &amp;nbsp;A calculation will still allow a value to be manually overridden.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jun 2017 15:13:30 GMT</pubDate>
    <dc:creator>JamesTedrick</dc:creator>
    <dc:date>2017-06-22T15:13:30Z</dc:date>
    <item>
      <title>how do I provide a default value based on a response to a previous question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-do-i-provide-a-default-value-based-on-a/m-p/803539#M11422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a survey that contains a "select_one" where I use a choice list to pick a code.&lt;/P&gt;&lt;P&gt;I then have a subsequent field which I want to populate with a default value based on the previous response, but I want to have the option to overwrite the default value presented.&lt;/P&gt;&lt;P&gt;Is there a simple way to achieve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 11:45:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-do-i-provide-a-default-value-based-on-a/m-p/803539#M11422</guid>
      <dc:creator>DfIRivers</dc:creator>
      <dc:date>2017-06-22T11:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: how do I provide a default value based on a response to a previous question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-do-i-provide-a-default-value-based-on-a/m-p/803540#M11423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Survey123 terms, what you are asking for is to &lt;EM&gt;calculate&lt;/EM&gt; a value based on a previous question. &amp;nbsp;You can do this in the calculation column - see&amp;nbsp;&lt;A class="link-titled" href="http://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION1_DB5A29AC645F4AE585D7CEA9E6D5A36B" title="http://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION1_DB5A29AC645F4AE585D7CEA9E6D5A36B"&gt;Formulas—Survey123 for ArcGIS | ArcGIS&lt;/A&gt;&amp;nbsp;. &amp;nbsp;A calculation will still allow a value to be manually overridden.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 15:13:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-do-i-provide-a-default-value-based-on-a/m-p/803540#M11423</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2017-06-22T15:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: how do I provide a default value based on a response to a previous question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-do-i-provide-a-default-value-based-on-a/m-p/803541#M11424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;so... I don't want to e.g. multiply the answer to a previous question by a factor.. I want to use the answer to the previous question to provide a look-up. &amp;nbsp;Would this be achieved using an a nested if statement in the calculation field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 15:22:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-do-i-provide-a-default-value-based-on-a/m-p/803541#M11424</guid>
      <dc:creator>DfIRivers</dc:creator>
      <dc:date>2017-06-22T15:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: how do I provide a default value based on a response to a previous question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-do-i-provide-a-default-value-based-on-a/m-p/803542#M11425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A lookup can be done with an if statement with the values inline; additionally the pulldata() function can look up values from an accompanying CSV file - see&amp;nbsp;&lt;A class="link-titled" href="http://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION1_A3C2F3566F974734B55ECECD31C6CA91" title="http://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION1_A3C2F3566F974734B55ECECD31C6CA91"&gt;Formulas—Survey123 for ArcGIS | ArcGIS&lt;/A&gt;&amp;nbsp;(Working with External Content)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 15:33:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-do-i-provide-a-default-value-based-on-a/m-p/803542#M11425</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2017-06-22T15:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: how do I provide a default value based on a response to a previous question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-do-i-provide-a-default-value-based-on-a/m-p/803543#M11426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When populating answer of a select_one question (Q2) based on answer of a previous question (Q1), a 'recalculate' button appears for Q2 when user select an option in Q1&amp;nbsp;except one that used to populate Q2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example below,&amp;nbsp;Q2 has this statement in the calculation:&amp;nbsp;if(selected(${question1},'option1'),'option1',''), and&amp;nbsp;Q3 is using pulldata() to achieve the same functionality, they both work for my intention. i.e. Select option 1 in Q1, then Q2 and Q3 will&amp;nbsp;have&amp;nbsp;option&amp;nbsp;1&amp;nbsp;selected automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/467787_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bur if I select option 2 in Q1, the 'recalculate' buttons appears for Q2 and Q3 no matter what I select.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-6 jive-image" height="297" src="https://community.esri.com/legacyfs/online/467789_pastedImage_6.png" width="248" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I doing something wrong or will I be able to disable those buttons in the setting?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2019 09:19:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-do-i-provide-a-default-value-based-on-a/m-p/803543#M11426</guid>
      <dc:creator>Jing_Sun</dc:creator>
      <dc:date>2019-10-25T09:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: how do I provide a default value based on a response to a previous question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-do-i-provide-a-default-value-based-on-a/m-p/803544#M11427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jing,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're not doing anything wrong- your calculations are working exactly as designed. &amp;nbsp;Remember that&amp;nbsp;a calculation *must* return a value; there isn't a 'leave everything just as it is' concept. &amp;nbsp;In this case, when you select option2 in q1, you are calculating&amp;nbsp;q2 to an empty value; the recalculation symbol showing when another value is present reflects that. &amp;nbsp;Similarly, an empty search would also be calculating q3 to an empty value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2019 21:20:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-do-i-provide-a-default-value-based-on-a/m-p/803544#M11427</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2019-10-25T21:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: how do I provide a default value based on a response to a previous question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-do-i-provide-a-default-value-based-on-a/m-p/803545#M11428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;for your helpful information!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2019 00:03:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-do-i-provide-a-default-value-based-on-a/m-p/803545#M11428</guid>
      <dc:creator>Jing_Sun</dc:creator>
      <dc:date>2019-10-28T00:03:03Z</dc:date>
    </item>
  </channel>
</rss>

