<?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 Calculated field value getting reset when switching between repeat records in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/calculated-field-value-getting-reset-when/m-p/859610#M25494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a survey that collects Landowner Address information and if the remittance address is different, the Remittance Address is recorded as well. There is a field (RemittedPayment) which if answered 'Yes' the option to enter remittance address is given. I would like the Remittance Address to be the same as Landowner Address provided the RemittedPayment='No', else record the value that is entered in the Remittance Address field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if this is the right formula for the calculation field which is set as:&lt;/P&gt;&lt;P&gt;if(${RemittedPayment}='No', ${Address}, '')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the survey form, the remittance address entered is cleared out&amp;nbsp;when switching between the repeat records. It appears that the calculation is triggered every time back and next buttons are clicked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Feb 2018 04:38:42 GMT</pubDate>
    <dc:creator>SudhirPonnappan1</dc:creator>
    <dc:date>2018-02-23T04:38:42Z</dc:date>
    <item>
      <title>Calculated field value getting reset when switching between repeat records</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculated-field-value-getting-reset-when/m-p/859610#M25494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a survey that collects Landowner Address information and if the remittance address is different, the Remittance Address is recorded as well. There is a field (RemittedPayment) which if answered 'Yes' the option to enter remittance address is given. I would like the Remittance Address to be the same as Landowner Address provided the RemittedPayment='No', else record the value that is entered in the Remittance Address field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if this is the right formula for the calculation field which is set as:&lt;/P&gt;&lt;P&gt;if(${RemittedPayment}='No', ${Address}, '')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the survey form, the remittance address entered is cleared out&amp;nbsp;when switching between the repeat records. It appears that the calculation is triggered every time back and next buttons are clicked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 04:38:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculated-field-value-getting-reset-when/m-p/859610#M25494</guid>
      <dc:creator>SudhirPonnappan1</dc:creator>
      <dc:date>2018-02-23T04:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated field value getting reset when switching between repeat records</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculated-field-value-getting-reset-when/m-p/859611#M25495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudhir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To confirm, you are using the latest version of Survey123 (2.6)? &amp;nbsp;I'm not able to reproduce&amp;nbsp;the behavior you are describing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 20:52:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculated-field-value-getting-reset-when/m-p/859611#M25495</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-02-23T20:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated field value getting reset when switching between repeat records</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculated-field-value-getting-reset-when/m-p/859612#M25496</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;&lt;/P&gt;&lt;P&gt;Thank you for the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I am using the latest release of survey123.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say, if you add the first landowner record with a remittance address. Now add a second landowner record (repeat) and if for any reason hit the back button to go to the previous landowner&amp;nbsp;records, the Remittance address is cleared out.&lt;/P&gt;&lt;P&gt;As shown in the graphic below the remittance address is cleared out when I click the back arrow (1 of 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/397409_pastedImage_2.png" style="width: 461px; height: 621px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 22:16:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculated-field-value-getting-reset-when/m-p/859612#M25496</guid>
      <dc:creator>SudhirPonnappan1</dc:creator>
      <dc:date>2018-02-23T22:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated field value getting reset when switching between repeat records</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculated-field-value-getting-reset-when/m-p/859613#M25497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudhir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see the issue- yes, in your design you would have this issue; my attempt at reproduction had the yes/no question in the repeat. &amp;nbsp;I would suggest the 'Another Address' should be within the repeat, as you are saying that both yes and no can exist for the address state and this varies per repeat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 19:03:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculated-field-value-getting-reset-when/m-p/859613#M25497</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-02-26T19:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated field value getting reset when switching between repeat records</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculated-field-value-getting-reset-when/m-p/859614#M25498</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;&lt;/P&gt;&lt;P&gt;The Remittance Address is indeed within the repeat. It is placed in a group, which is nested within the repeat.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attaching a copy of the XLSX spreadsheet used to generate the survey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to have the same mailing address to be populated in remittance address group if the condition (Remit Payment = 'Yes'), else capture whatever is input by the user.&lt;/P&gt;&lt;P&gt;Does the calculation get applied everytime you navigate to a repeat record?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sudhir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 20:39:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculated-field-value-getting-reset-when/m-p/859614#M25498</guid>
      <dc:creator>SudhirPonnappan1</dc:creator>
      <dc:date>2018-02-26T20:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated field value getting reset when switching between repeat records</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculated-field-value-getting-reset-when/m-p/859615#M25499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudhir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the yes/no question is outside the repeat, I would expect the calculation to be refreshed when moving between repeats. &amp;nbsp;As I mentioned above, the yes/no question should be within the repeat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 03:32:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculated-field-value-getting-reset-when/m-p/859615#M25499</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-02-27T03:32:49Z</dc:date>
    </item>
  </channel>
</rss>

