<?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: Conditional (if) Statement Documentation in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771559#M3897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/people/JTedrick-esristaff"&gt;JTedrick-esristaff&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;I'm using 2.7.13 BETA as shown below. As I understand the below calculation if {obstruction} is set to 'CANNOT LOCATE' then {surface_cover} should be calc'd to 'UNKNOWN' automatically. However, I just get nothing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;if(selected(${obstructions}, 'CANNOT_LOCATE'), 'UNKNOWN','LAWN')&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;IMG alt="S123 2.7" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/399927_snag.jpg" style="width: 620px; height: 381px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Mar 2018 14:56:13 GMT</pubDate>
    <dc:creator>AndrewHargreaves2</dc:creator>
    <dc:date>2018-03-27T14:56:13Z</dc:date>
    <item>
      <title>Conditional (if) Statement Documentation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771551#M3889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't seem to find any good documentation on using if() statement in Survey 123,&amp;nbsp; I am fine with a creating a simple conditional statement but I'm having troubles with more complex conditional statements. If anyone has a link to some good documentation on using conditional statements in S123 please share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get at something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(selected${listA}), ''}) or if(selected${listA}), 'notlisted'}),'None', ${listA})&lt;/P&gt;&lt;P&gt;Basically I want to display this contents from "listA" in a note unless it's blank or the option "notlisted" was selected, otherwise I want the note to read "None"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also wondering if there is a way to have a "not equal to" in an if() statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 14:11:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771551#M3889</guid>
      <dc:creator>BrentKinal1</dc:creator>
      <dc:date>2017-05-11T14:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional (if) Statement Documentation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771552#M3890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brent,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The if statement works in the same manner as in Excel - to create complex statements, they need to be nested. &amp;nbsp;Based on what you're trying to accomplish, this should be the function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(count-selected(${listA}) = 0, 'None', if(selected(${listA}, 'notlisted'), 'None', ${listA}))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count-selected gives us the 'unselected' case (0 choices selected). &amp;nbsp;Note the paranthesis for selected- it's a function and needs to specify it's parameters. &amp;nbsp;This also assumes your &lt;EM&gt;question&lt;/EM&gt; is called listA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 15:46:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771552#M3890</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2017-05-11T15:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional (if) Statement Documentation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771553#M3891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3263"&gt;James Tedrick&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;I too am struggling with "if" statements. Here's my use case:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Select_one {Asset} (this has choices of 'Residential Meter', 'Backflow Preventer' etc)&lt;/LI&gt;&lt;LI&gt;If {Asset} is set to 'Residential Meter' I wish to populate a second select_one question named {Enclosure} with the answer 'meter box'&lt;/LI&gt;&lt;LI&gt;Furthermore, if {Asset} is 'Backflow Preventer' I wish to set {enclosure} to 'vault'&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 21:42:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771553#M3891</guid>
      <dc:creator>AndrewHargreaves2</dc:creator>
      <dc:date>2018-03-21T21:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional (if) Statement Documentation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771554#M3892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately I don't think you can do a calculate on a select_one question in the current version of S123, I think it will be possible in the upcoming version. For future reference the statement would look something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(selected(${Asset}. 'Residential Meter'), 'meter box', if(selected(${Asset}, 'Backflow Preventer'), 'vault', ''))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option here would be to use a &lt;A _jive_internal="true" href="https://community.esri.com/groups/survey123/blog/2015/10/22/cascading-selects-and-external-selects"&gt;cascading select&lt;/A&gt;, this won't select the option base on the previous question, but will allow you to limit the choice for the enclosure filed based on the asset field response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 13:24:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771554#M3892</guid>
      <dc:creator>BrentKinal1</dc:creator>
      <dc:date>2018-03-22T13:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional (if) Statement Documentation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771555#M3893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/btkinal_SyrUniv"&gt;btkinal_SyrUniv&lt;/A&gt;‌ is correct- select_one questions will be calculable in 2.7.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 13:48:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771555#M3893</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-03-22T13:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional (if) Statement Documentation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771556#M3894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I downloaded the 2.7 BETA as &lt;A href="https://community.esri.com/migrated-users/3263"&gt;James Tedrick&lt;/A&gt;&amp;nbsp;suggested &lt;A _jive_internal="true" href="https://community.esri.com/groups/survey123/blog/2015/08/24/using-formulas-in-survey123?commentID=59507&amp;amp;et=blogs.comment.created#comment-59507"&gt;here&lt;/A&gt; and am using&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/243123"&gt;Brent Kinal&lt;/A&gt;&amp;nbsp;expression but getting an nothing. I've included my survey and would be grateful if someone could help me out with getting this right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 21:16:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771556#M3894</guid>
      <dc:creator>AndrewHargreaves2</dc:creator>
      <dc:date>2018-03-26T21:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional (if) Statement Documentation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771557#M3895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you have your answer but for what it's worth I had some issues trying to implement nested if statements, they worked in excel but not in the Survey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I actually found it useful for my brain (and to get it working) to break the problem down into separate 'calculate' lines, calculate is a special field type that does not display on the form it works just like a variable and can be used in the other calculations e.g&lt;/P&gt;&lt;P&gt;type,name,label,calculation&lt;/P&gt;&lt;P&gt;1/ calculate,&lt;STRONG&gt;dia_diff&lt;/STRONG&gt;,Diameter Difference,${sec_6_log_dia_meas_len}-${sec_6_log_dia_disp_len}&lt;/P&gt;&lt;P&gt;2/ note,sec_6_log_dia_diff,Measured Difference (mm),if(${&lt;STRONG&gt;dia_diff&lt;/STRONG&gt;}&amp;lt;0,${&lt;STRONG&gt;dia_diff&lt;/STRONG&gt;} * -1,${&lt;STRONG&gt;dia_diff&lt;/STRONG&gt;})&lt;/P&gt;&lt;P&gt;3/ calculate&lt;STRONG&gt;,dia_diff_score_low&lt;/STRONG&gt;,Diameter Score &amp;lt; 400,if(${sec_6_log_dia_disp_len}&amp;lt;400,if(${sec_6_log_dia_diff}&amp;gt;25,0,3),3)&lt;/P&gt;&lt;P&gt;4/ calculate&lt;STRONG&gt;,dia_diff_score_high&lt;/STRONG&gt;,Diameter Score &amp;gt;= 400,if(${sec_6_log_dia_disp_len}&amp;gt;=400,if(${sec_6_log_dia_diff}&amp;gt;50,0,3),3)&lt;/P&gt;&lt;P&gt;5/ integer,sec_6_log_score,Log Score,min(${len_diff_score},${&lt;STRONG&gt;dia_diff_score_low&lt;/STRONG&gt;},${&lt;STRONG&gt;dia_diff_score_high&lt;/STRONG&gt;})&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The logic is:&lt;/P&gt;&lt;P&gt;1/ Calculate the difference between what is measured and what the machine displays&lt;/P&gt;&lt;P&gt;2/ Convert the measurement to an absolute value (ABV)&lt;/P&gt;&lt;P&gt;3/ If the log has a diameter&amp;nbsp;under 400mm and the difference in measurement is &amp;gt;25mm this log scores a 0&lt;/P&gt;&lt;P&gt;4/ If the log has a diameter over 400mm and the difference in measurement is &amp;gt;50mm this log scores a 0&lt;/P&gt;&lt;P&gt;5/ The log score is the minimum of Length Score,Small Diameter Score or Large Diameter Score&lt;/P&gt;&lt;P&gt;I left out the log length score calculations but they are similar to diameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the full survey if anyone wants to take&amp;nbsp;a look - I have trimmed out a lot of the lookup data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 23:01:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771557#M3895</guid>
      <dc:creator>SteveRichards4</dc:creator>
      <dc:date>2018-03-26T23:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional (if) Statement Documentation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771558#M3896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your survey is working properly on the 2.7 version I am using - can you verify the version # you are using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 03:48:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771558#M3896</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-03-27T03:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional (if) Statement Documentation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771559#M3897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/people/JTedrick-esristaff"&gt;JTedrick-esristaff&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;I'm using 2.7.13 BETA as shown below. As I understand the below calculation if {obstruction} is set to 'CANNOT LOCATE' then {surface_cover} should be calc'd to 'UNKNOWN' automatically. However, I just get nothing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;if(selected(${obstructions}, 'CANNOT_LOCATE'), 'UNKNOWN','LAWN')&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;IMG alt="S123 2.7" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/399927_snag.jpg" style="width: 620px; height: 381px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 14:56:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771559#M3897</guid>
      <dc:creator>AndrewHargreaves2</dc:creator>
      <dc:date>2018-03-27T14:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional (if) Statement Documentation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771560#M3898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.7.13 is a version to early to test this functionality. &amp;nbsp;You should be able to download Survey123 Connect 2.7.68, Survey123 field app 2.7.93 from the Early Adopter Community.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 15:04:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771560#M3898</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-03-27T15:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional (if) Statement Documentation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771561#M3899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/JTedrick-esristaff"&gt;JTedrick-esristaff&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;Survey123ConnectBETA 2.7.13 is all that is available on the Early Adopter site.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/399928_S123BETA.jpg" style="width: 620px; height: 347px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 12:40:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771561#M3899</guid>
      <dc:creator>AndrewHargreaves2</dc:creator>
      <dc:date>2018-03-28T12:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional (if) Statement Documentation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771562#M3900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrew, You should be able to find it here: &lt;STRONG&gt;&lt;A class="link-titled" href="https://earlyadopter.esri.com/project/home.html?cap=e69ef91f45744b98882c651f7b518eb7&amp;amp;tab=2" title="https://earlyadopter.esri.com/project/home.html?cap=e69ef91f45744b98882c651f7b518eb7&amp;amp;tab=2"&gt;Welcome to our Feedback Community&lt;/A&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 12:59:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771562#M3900</guid>
      <dc:creator>BrentKinal1</dc:creator>
      <dc:date>2018-03-28T12:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional (if) Statement Documentation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771563#M3901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.esri.com/people/JTedrick-esristaff"&gt;JTedrick-esristaff&lt;/A&gt;‌ and &lt;A href="https://community.esri.com/people/btkinal_SyrUniv"&gt;btkinal_SyrUniv&lt;/A&gt;‌!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 16:38:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771563#M3901</guid>
      <dc:creator>AndrewHargreaves2</dc:creator>
      <dc:date>2018-03-28T16:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional (if) Statement Documentation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771564#M3902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3263"&gt;James Tedrick&lt;/A&gt;‌ ... can you help with an issue I'm having with conditionals? I'm trying to tell Survey123 to assign a value based on a response from a prior yes/no question. If yes, the field gets a value of 8. If no, then it needs to perform a calculation based on two other fields. I have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(selected(${Dead_Tree},'yes'),8, if(selected(${Dead_Tree},'no'),'(${Highest_Pot_Score})+(${Multiple_Defects_Score})'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this isn't working. I've tried variations on this, but so far I haven't gotten it to work. Help! Please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 16:39:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771564#M3902</guid>
      <dc:creator>deleted-user-jxpbpbjlZInj</dc:creator>
      <dc:date>2018-12-13T16:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional (if) Statement Documentation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771565#M3903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, Try this:&lt;/P&gt;&lt;P&gt;if(selected(${Dead_Tree},'yes'),8, number(${Highest_Pot_Score})+number(${Multiple_Defects_Score}))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 19:36:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771565#M3903</guid>
      <dc:creator>BrentKinal1</dc:creator>
      <dc:date>2018-12-13T19:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional (if) Statement Documentation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771566#M3904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny, if you download NotePad++, then it will help you with making sure the brackets line up within this type of coding. When you place your cursor by a "(" it will then in return light up the corresponding ")" to help identify if the brackets are in alignment. I'd give Brent's answer a go...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 21:17:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/771566#M3904</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-12-13T21:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional (if) Statement Documentation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/1086866#M36375</link>
      <description>&lt;P&gt;Buenas tardes,&amp;nbsp;&lt;/P&gt;&lt;P&gt;es posible generar un tipo de condicional para que una pregunta de una encuesta desarrollada en survey Connect 123 permita diligenciar nuevamente el valor si a pesar de no cumplir con la condición el mismo dato se ingresa por segunda vez. ejemplo, un operario captura el dato de consumo promedio de agua, este valor debe validarse respecto al promedio de los últimos meses que se tiene como información base, si el valor ingresado es mayor al promedio, pida una verificación y se vuelva a diligenciar el valor, si en esta ocasión vuelve a ingresar el mismo valor, acepte el dato y llene el registro.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Aug 2021 16:47:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-if-statement-documentation/m-p/1086866#M36375</guid>
      <dc:creator>Carlos_AndresCamacho_Acuña</dc:creator>
      <dc:date>2021-08-07T16:47:52Z</dc:date>
    </item>
  </channel>
</rss>

