<?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: Assign score based on Select one question type, can only score 2 of three answers in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/assign-score-based-on-select-one-question-type-can/m-p/1269554#M48058</link>
    <description>&lt;P&gt;I believe so, yes &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Survey123 Question pt5.JPG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/65720i21C26104787BAB0E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Survey123 Question pt5.JPG" alt="Survey123 Question pt5.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Mar 2023 18:48:13 GMT</pubDate>
    <dc:creator>DanielChelist</dc:creator>
    <dc:date>2023-03-20T18:48:13Z</dc:date>
    <item>
      <title>Assign score based on Select one question type, can only score 2 of three answers</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/assign-score-based-on-select-one-question-type-can/m-p/1269457#M48045</link>
      <description>&lt;P&gt;We are trying to create a survey in Survey123 Connect where a score is assigned based on user choice for a select_one type question in an integer type following the question. The issue we are having is that we are only to generate scores for 2 of the questions depending on the calculation formatting. See screenshots below as well as the calculation used in the integer type. Any suggestions would be greatly appreciated&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(${a2o_1}="yes",${c2},${c1}) or if(${a2o_1}="yhi",${c3},${c1}) or if(${a2o_1}='no',${c1},${c1})&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Survey123 Question.JPG" style="width: 784px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/65691i6027BB78B70DE716/image-dimensions/784x36?v=v2" width="784" height="36" role="button" title="Survey123 Question.JPG" alt="Survey123 Question.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Survey123 Question pt2.JPG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/65692i64BE69D6126A5DC4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Survey123 Question pt2.JPG" alt="Survey123 Question pt2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Survey123 Question pt3.JPG" style="width: 844px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/65693i56F72B26FD7476BD/image-dimensions/844x47?v=v2" width="844" height="47" role="button" title="Survey123 Question pt3.JPG" alt="Survey123 Question pt3.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 15:41:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/assign-score-based-on-select-one-question-type-can/m-p/1269457#M48045</guid>
      <dc:creator>DanielChelist</dc:creator>
      <dc:date>2023-03-20T15:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Assign score based on Select one question type, can only score 2 of three answers</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/assign-score-based-on-select-one-question-type-can/m-p/1269465#M48046</link>
      <description>&lt;P&gt;You cannot use or inbetween if statements like that.&amp;nbsp; You need to use the else in the if.&amp;nbsp; Looking at your options I think this would work and be simpler.&lt;/P&gt;&lt;P&gt;if(${a2o_1}="yes",${c2}, if(${a2o_1}="yhi", ${c3}, ${c1}))&lt;/P&gt;&lt;P&gt;This assumes it will never be blank.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 15:55:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/assign-score-based-on-select-one-question-type-can/m-p/1269465#M48046</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2023-03-20T15:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Assign score based on Select one question type, can only score 2 of three answers</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/assign-score-based-on-select-one-question-type-can/m-p/1269470#M48047</link>
      <description>&lt;P&gt;That did the trick, thanks Doug!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 16:03:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/assign-score-based-on-select-one-question-type-can/m-p/1269470#M48047</guid>
      <dc:creator>DanielChelist</dc:creator>
      <dc:date>2023-03-20T16:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Assign score based on Select one question type, can only score 2 of three answers</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/assign-score-based-on-select-one-question-type-can/m-p/1269488#M48052</link>
      <description>&lt;P&gt;so, if I wanted to sum the results from multiple questions, what would be the proper syntax for that?&lt;/P&gt;&lt;P&gt;ex&lt;/P&gt;&lt;P&gt;${a2o_1}+${a2o_2}...&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 16:48:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/assign-score-based-on-select-one-question-type-can/m-p/1269488#M48052</guid>
      <dc:creator>DanielChelist</dc:creator>
      <dc:date>2023-03-20T16:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: Assign score based on Select one question type, can only score 2 of three answers</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/assign-score-based-on-select-one-question-type-can/m-p/1269531#M48053</link>
      <description>&lt;P&gt;Yes typically that is what I do.&amp;nbsp; One line for each sum then one master that sums them all up.&amp;nbsp; Set the bind type field to int so you get a number and not a string.&amp;nbsp; Can also set the temp fields bind esri type to null and they will stay out of the feature service.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 18:06:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/assign-score-based-on-select-one-question-type-can/m-p/1269531#M48053</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2023-03-20T18:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Assign score based on Select one question type, can only score 2 of three answers</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/assign-score-based-on-select-one-question-type-can/m-p/1269547#M48056</link>
      <description>&lt;P&gt;hmm, I must be doing something wrong. Getting an empty output with the following. Same empty output with parenthesis around the calculation&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Survey123 Question pt4.JPG" style="width: 806px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/65718i640A78714147396E/image-dimensions/806x31?v=v2" width="806" height="31" role="button" title="Survey123 Question pt4.JPG" alt="Survey123 Question pt4.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 18:35:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/assign-score-based-on-select-one-question-type-can/m-p/1269547#M48056</guid>
      <dc:creator>DanielChelist</dc:creator>
      <dc:date>2023-03-20T18:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Assign score based on Select one question type, can only score 2 of three answers</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/assign-score-based-on-select-one-question-type-can/m-p/1269550#M48057</link>
      <description>&lt;P&gt;Are those 3 fields set to bind int?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 18:43:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/assign-score-based-on-select-one-question-type-can/m-p/1269550#M48057</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2023-03-20T18:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Assign score based on Select one question type, can only score 2 of three answers</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/assign-score-based-on-select-one-question-type-can/m-p/1269554#M48058</link>
      <description>&lt;P&gt;I believe so, yes &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Survey123 Question pt5.JPG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/65720i21C26104787BAB0E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Survey123 Question pt5.JPG" alt="Survey123 Question pt5.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 18:48:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/assign-score-based-on-select-one-question-type-can/m-p/1269554#M48058</guid>
      <dc:creator>DanielChelist</dc:creator>
      <dc:date>2023-03-20T18:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Assign score based on Select one question type, can only score 2 of three answers</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/assign-score-based-on-select-one-question-type-can/m-p/1269594#M48059</link>
      <description>&lt;P&gt;Yes that looks right.&amp;nbsp; At this point just post the form or just guessing.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 19:22:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/assign-score-based-on-select-one-question-type-can/m-p/1269594#M48059</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2023-03-20T19:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Assign score based on Select one question type, can only score 2 of three answers</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/assign-score-based-on-select-one-question-type-can/m-p/1269619#M48061</link>
      <description>&lt;P&gt;Good call, see attached, thanks&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 20:07:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/assign-score-based-on-select-one-question-type-can/m-p/1269619#M48061</guid>
      <dc:creator>DanielChelist</dc:creator>
      <dc:date>2023-03-20T20:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Assign score based on Select one question type, can only score 2 of three answers</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/assign-score-based-on-select-one-question-type-can/m-p/1269626#M48062</link>
      <description>&lt;P&gt;Oop, I see what I did there, i was pointing to the questions not the the integer&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 20:23:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/assign-score-based-on-select-one-question-type-can/m-p/1269626#M48062</guid>
      <dc:creator>DanielChelist</dc:creator>
      <dc:date>2023-03-20T20:23:51Z</dc:date>
    </item>
  </channel>
</rss>

