<?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: Survey123, 2 fields calculate off each other. Which direction they are calculated is dependent on a select_one in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-2-fields-calculate-off-each-other-which/m-p/843740#M21573</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like you said having just the 2 fields creates an endless loop.&amp;nbsp; You are going to need some new fields.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the user is picking which to use just have the other field hide.&amp;nbsp; Then have a 3rd and 4th field for the calcs that is a note type.&amp;nbsp; Your if would check the type value (amount or acres) or look for '' and calculate accordingly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jan 2020 19:45:45 GMT</pubDate>
    <dc:creator>DougBrowning</dc:creator>
    <dc:date>2020-01-03T19:45:45Z</dc:date>
    <item>
      <title>Survey123, 2 fields calculate off each other. Which direction they are calculated is dependent on a select_one</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-2-fields-calculate-off-each-other-which/m-p/843734#M21567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The scenario is this.&amp;nbsp; We are treating using granular larvicides/pesticides. The field user estimates acreage and enters it.&amp;nbsp; They then weigh their bag before treating, then after treating they weigh it again to see how much pesticide was used.&amp;nbsp; To determine the rate in which they discharged the pesticide, they put the amount of pesticide&amp;nbsp;dispersed in the Amount field and choose to calculate it by Amount.&amp;nbsp; It calculates their rate and displays that&amp;nbsp;calculated rate in the Rate Field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However there are times where they can't weigh it before and after, and so must make a judgement on the rate they put the pesticide out instead of going on the amount.&amp;nbsp; In this case, I would like them to say they are going to calculate using Rate (instead of amount) and have them enter their rate into the Rate field and it calculates and displays the amount of pesticide used in the&amp;nbsp;Amount field.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And both fields need to be visible to the user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a basic setup of what I am trying to accomplish:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Form--- 3 numeric fields and 1 "Select&amp;nbsp;One" field.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Acreage:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Numeric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Calculate method&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Select one&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Rate&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Amount&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Rate:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Numeric&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Amount:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Numeric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Calculations---&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Rate is to Calculate via&amp;nbsp;if(selected(${RateOrAmount}, 'Amount'), ${Amount} div ${Acres}, '0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Amount is to Calculate via&amp;nbsp;if(selected(${RateOrAmount}, 'Rate'), ${Rate} * ${Acres}, '0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_________________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this throws an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am pretty sure, the problem is in the 'else' portion.&amp;nbsp; Since I am defining the else to be 0 (as one usually does) then if Rate was to be chosen as the calculation method, the Rate&amp;nbsp;field would find it&amp;nbsp;shouldn't&amp;nbsp;follow the if/then statement and and instead go 'else'&amp;nbsp;and place a 0 in the field, which then affects the&amp;nbsp;Amount field that was trying to legitimately calculate based on what was entered into the Rate field (That was just ripped out from underneath itself).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I am to remove either If/Then and run it, it has no issues.&amp;nbsp; But if both exist, It will not run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone know how to make it so that instead of defining it as 0, I can just say, "Then don't worry about it.&amp;nbsp; Just sit and be happy" or something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or have a different idea on how to set this up so it will be successful?&amp;nbsp; Thanks.&amp;nbsp; Hopefully this makes sense and is clear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jan 2020 21:49:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-2-fields-calculate-off-each-other-which/m-p/843734#M21567</guid>
      <dc:creator>MosquitoGIS</dc:creator>
      <dc:date>2020-01-02T21:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123, 2 fields calculate off each other. Which direction they are calculated is dependent on a select_one</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-2-fields-calculate-off-each-other-which/m-p/843735#M21568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well if it is a number then you need to lose the '' around the 0.&amp;nbsp; '0' is a string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do nothing you can leave it as '' (blank string).&amp;nbsp; I know this seems to contradict the above statement but it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Slicker option is to use relevant and just hide the field completely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that does it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jan 2020 23:54:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-2-fields-calculate-off-each-other-which/m-p/843735#M21568</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2020-01-02T23:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123, 2 fields calculate off each other. Which direction they are calculated is dependent on a select_one</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-2-fields-calculate-off-each-other-which/m-p/843736#M21569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Doug, thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did notice that I was using the string instead of the integer, but it worked and I was being lazy.&amp;nbsp; Haha!&amp;nbsp; But, now that you called me out on it, I guess I should buck up, fix it and do it right to avoid possible other issues.&amp;nbsp; &lt;IMG class="jive_emoji" src="https://community.esri.com/images/emojis/1f602.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I did try using a blank string and still had the same problem.&amp;nbsp;&amp;nbsp;Unfortunately a&amp;nbsp;"" is still considered an entry that can be stored (Even null would technically qualify for that as well &lt;IMG class="jive_emoji" src="https://community.esri.com/images/emojis/1f641.png" /&gt;) , and so it is still causing the same problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2020 14:33:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-2-fields-calculate-off-each-other-which/m-p/843736#M21569</guid>
      <dc:creator>MosquitoGIS</dc:creator>
      <dc:date>2020-01-03T14:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123, 2 fields calculate off each other. Which direction they are calculated is dependent on a select_one</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-2-fields-calculate-off-each-other-which/m-p/843737#M21570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know for sure, but I am&amp;nbsp;thinking the only way to pull this off would be to have the else statement basically not exist or equivalent.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know there has to be the 3 arguments (If, Then, Else), so it is required for it&amp;nbsp;to exist.&amp;nbsp; So, my hope and guess is that maybe there is something in the else position that I can put that achieves the equivalent.&amp;nbsp; And I honestly just don't know if that thing exists in Survey123 at this time.&amp;nbsp; Perhaps, I am wrong or there is a different/better way to do this.&amp;nbsp; I am just not sure what that would be.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2020 14:35:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-2-fields-calculate-off-each-other-which/m-p/843737#M21570</guid>
      <dc:creator>MosquitoGIS</dc:creator>
      <dc:date>2020-01-03T14:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123, 2 fields calculate off each other. Which direction they are calculated is dependent on a select_one</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-2-fields-calculate-off-each-other-which/m-p/843738#M21571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you mean by a value that is stored?&amp;nbsp; 123 will store a '' for any field that has no value.&amp;nbsp; Do you mean you want the field to not be in the database?&amp;nbsp; You can make the field never there but no database in the world can have a field for some records and not others.&amp;nbsp; I guess I am not sure what you are asking now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you just want one value or the other then you could make a 3rd field.&lt;/P&gt;&lt;P&gt;Make field 1 and 2 type hidden - that way they are never in the database or stored.&lt;/P&gt;&lt;P&gt;Field 3 would have a calc of if(field1='',field2,field1}.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then set your field1 and 2 to the if(check,formual,'') like you wrote above but with a '' instead of '0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way only 1 final value will ever get stored.&amp;nbsp; Then if you want field 1 and 2 to not be in the database at all set the bindtypeESRI field to null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will that work for you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2020 15:37:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-2-fields-calculate-off-each-other-which/m-p/843738#M21571</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2020-01-03T15:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123, 2 fields calculate off each other. Which direction they are calculated is dependent on a select_one</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-2-fields-calculate-off-each-other-which/m-p/843739#M21572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As mentioned originally, I want both fields to display and store a number.&amp;nbsp; I just want a select_one to choose which field the user types in and which field officiates the calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I choose that I want it to calculate the rate, I would choose Rate on the select_one,&amp;nbsp;enter the Amount and let it calculate the Rate.&amp;nbsp;In return, If I&amp;nbsp;choose I want it to calculate the amount, I would select Amount ,enter the Rate&amp;nbsp;and let it calculate the Amount.&amp;nbsp; I want both of those numbers, despite which way was chosen, to be stored within those fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem that I perceive happening is this (endless loop, division of 0, limit to survey123 capabilities?&amp;nbsp; I honestly have no idea.):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I treat 20 acres. So &lt;STRONG&gt;Acres=20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I weigh my bag and decide I want to calculate by Amount.&amp;nbsp; So, I choose 'amount' on the select_one and enter the amount (lets say 10 pounds) in the amount field.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Acres = 20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Amount = 10&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, the Rate field becomes read only and attempts to trigger the following:&amp;nbsp;&amp;nbsp;&lt;EM style="background-color: #ffffff; "&gt;if(selected(${RateOrAmount}, 'Amount'), ${Amount} div ${Acres}, 0) &lt;/EM&gt;&lt;SPAN style="background-color: #ffffff;"&gt;which results in 0.5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="background-color: #ffffff; "&gt;Acres = 20&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="background-color: #ffffff; "&gt;Amount = 10&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="background-color: #ffffff; "&gt;Rate = 0.5&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, there is still code that hasn't run, namely the Amount field calculation, which is:&amp;nbsp;&lt;EM style="background-color: #ffffff; "&gt;if(selected(${RateOrAmount}, 'Rate'), ${Rate} * ${Acres}, 0) &lt;/EM&gt;&lt;SPAN style="background-color: #ffffff;"&gt;which results as a 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; "&gt;Acres = 20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; "&gt;Amount = 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; "&gt;Rate = 0.5&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;But wait, something has changed within the form, so re run the code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;Now, the Rate field becomes read only and attempts to trigger the following:&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;EM style="background-color: #ffffff; "&gt;Rate field = if(selected(${RateOrAmount}, 'Amount'), ${Amount} div ${Acres}, 0)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN style="background-color: #ffffff;"&gt;which results in Not possible.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; "&gt;&lt;EM style="background-color: #ffffff; "&gt;Amount field = if(selected(${RateOrAmount}, 'Rate'), ${Rate} * ${Acres}, 0)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN style="background-color: #ffffff;"&gt;which results as a 0.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; "&gt;Acres = 20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; "&gt;Amount = 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; "&gt;Rate = Not possible&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;In reverse, lets say I choose rate (10):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; "&gt;Acres = 20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; "&gt;Amount = 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; "&gt;Rate = 10&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;EM&gt;Rate field = if(selected(${RateOrAmount}, 'Amount'), ${Amount} div ${Acres}, 0)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;which results in&amp;nbsp;0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;&lt;EM style="background-color: #ffffff; "&gt;Amount field = if(selected(${RateOrAmount}, 'Rate'), ${Rate} * ${Acres}, 0)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN style="background-color: #ffffff;"&gt;which results as a 200.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;STRONG&gt;Acres= 20&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;STRONG&gt;Amount = 200&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;STRONG&gt;Rate = 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;But wait, something changed:&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;EM&gt;Rate field = if(selected(${RateOrAmount}, 'Amount'), ${Amount} div ${Acres}, 0)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;which results in&amp;nbsp;0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;&lt;EM style="background-color: #ffffff; "&gt;Amount field = if(selected(${RateOrAmount}, 'Rate'), ${Rate} * ${Acres}, 0)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN style="background-color: #ffffff;"&gt;which results as a 0.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;STRONG style="background-color: #ffffff; : ; "&gt;Acres = 20&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;STRONG style="background-color: #ffffff; : ; "&gt;Amount = 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;STRONG style="background-color: #ffffff; : ; "&gt;Rate = 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;Even then, it probably recognizes there was a change and begins a loop of putting 0's into the fields, as the calculation says something must be placed in there at that moment if that calculation runs.&amp;nbsp; If this (trigger)&amp;nbsp;than &lt;EM&gt;X (20)&lt;/EM&gt;, otherwise&amp;nbsp;Y (0).&amp;nbsp; Something is always being put into the field every time it runs, even if it is the same number.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;I am wanting to bypass the 'else' portion, so that it isn't always putting something in the field (making it less trigger happy).&amp;nbsp; Or set it up so that I can achieve the same results of both fields showing and storing its associated content and&amp;nbsp;it being able to calculate the direction the user chooses.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;It is possible I might be able to use your suggestion for a kind of bait and switch behind the scenes that gives the same appearance and effects, but just has a extra steps of moving numbers across fields and creative validating (through If/Then's) to get the results I want. &lt;IMG class="jive_emoji" src="https://community.esri.com/images/emojis/1f914.png" /&gt; I was just hoping that there is an easier solution before I begin creating a Rube Goldberg Machine&amp;nbsp;to accomplish, what I am still hoping is, a simple set of results.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2020 18:39:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-2-fields-calculate-off-each-other-which/m-p/843739#M21572</guid>
      <dc:creator>MosquitoGIS</dc:creator>
      <dc:date>2020-01-03T18:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123, 2 fields calculate off each other. Which direction they are calculated is dependent on a select_one</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-2-fields-calculate-off-each-other-which/m-p/843740#M21573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like you said having just the 2 fields creates an endless loop.&amp;nbsp; You are going to need some new fields.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the user is picking which to use just have the other field hide.&amp;nbsp; Then have a 3rd and 4th field for the calcs that is a note type.&amp;nbsp; Your if would check the type value (amount or acres) or look for '' and calculate accordingly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2020 19:45:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-2-fields-calculate-off-each-other-which/m-p/843740#M21573</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2020-01-03T19:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123, 2 fields calculate off each other. Which direction they are calculated is dependent on a select_one</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-2-fields-calculate-off-each-other-which/m-p/1231336#M46004</link>
      <description>&lt;P&gt;Going through old posts and giving credit where it was due.&amp;nbsp; Thanks for this.&amp;nbsp; I ended up doing exactly what you said and made two 'note' fields that did the calculations themselves, and were tied to fields for storing their content.&amp;nbsp; The original fields only needed to collect the typed in data, where the 'note' fields actually was the data I wanted to stored.&amp;nbsp; So the original typed in data fields are set up to appear and disappear depending on what they selected to calculate by and are a null type value so that they don't store any data in any fields.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 17:53:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-2-fields-calculate-off-each-other-which/m-p/1231336#M46004</guid>
      <dc:creator>MosquitoGIS</dc:creator>
      <dc:date>2022-11-14T17:53:50Z</dc:date>
    </item>
  </channel>
</rss>

