<?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: Select multiple assessment values in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-assessment-values/m-p/1379671#M54603</link>
    <description>&lt;P&gt;It does this since all fields are treated like strings inside the form so it is doing a concat.&amp;nbsp; In the&amp;nbsp;bind::type column set it to int then the fields will act as int inside the form.&amp;nbsp; I thought integer in type worked fine now also but I guess not.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2024 14:55:07 GMT</pubDate>
    <dc:creator>DougBrowning</dc:creator>
    <dc:date>2024-02-08T14:55:07Z</dc:date>
    <item>
      <title>Select multiple assessment values</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-assessment-values/m-p/1379435#M54591</link>
      <description>&lt;P&gt;I'm trying to develop an assessment, but I'm not the brightest bulb of the bunch. The way I have it written, it lists the score values I've tried to assign instead of adding them together (e.g., instead of adding 3 "1"s together, it lists them as "111" instead of "3"). Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alyssajhnsn_0-1707346521130.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94020i635C09BDC22C596B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alyssajhnsn_0-1707346521130.png" alt="alyssajhnsn_0-1707346521130.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 23:00:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-assessment-values/m-p/1379435#M54591</guid>
      <dc:creator>alyssajhnsn</dc:creator>
      <dc:date>2024-02-07T23:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Select multiple assessment values</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-assessment-values/m-p/1379671#M54603</link>
      <description>&lt;P&gt;It does this since all fields are treated like strings inside the form so it is doing a concat.&amp;nbsp; In the&amp;nbsp;bind::type column set it to int then the fields will act as int inside the form.&amp;nbsp; I thought integer in type worked fine now also but I guess not.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 14:55:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-assessment-values/m-p/1379671#M54603</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2024-02-08T14:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Select multiple assessment values</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-assessment-values/m-p/1379758#M54608</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;is correct. This is definitely a case of text fields being used for math.&lt;/P&gt;&lt;P&gt;Here is a visual idea of that he is describing. Note the use of the &lt;STRONG&gt;bind::type&lt;/STRONG&gt; column:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1707408279738.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94096i1C76CF0204A4CDDD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_0-1707408279738.png" alt="abureaux_0-1707408279738.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Which results in &lt;EM&gt;my_field2&lt;/EM&gt; properly adding &lt;EM&gt;my_field&lt;/EM&gt; (e.g., 32+5+7=44) rather than combining fields (e.g., 32+5+7=3257) like you are seeing:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_1-1707408386171.png" style="width: 178px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94097i1488B24493331D48/image-dimensions/178x131?v=v2" width="178" height="131" role="button" title="abureaux_1-1707408386171.png" alt="abureaux_1-1707408386171.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;(note that this example is a very sub-optimal set-up for the purposes of an example. Typically, you wouldn't use a "text" field like this)&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 16:08:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-assessment-values/m-p/1379758#M54608</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2024-02-08T16:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Select multiple assessment values</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-assessment-values/m-p/1379836#M54610</link>
      <description>&lt;P&gt;Thanks for your help. I've tried updated the bind column to int, but now the score is showing as blank instead of showing any values.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 17:29:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-assessment-values/m-p/1379836#M54610</guid>
      <dc:creator>alyssajhnsn</dc:creator>
      <dc:date>2024-02-08T17:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Select multiple assessment values</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-assessment-values/m-p/1379838#M54611</link>
      <description>&lt;P&gt;I'm not a Survey123 expert by any means, so I may not have use the best development. I was basing it off this survey here:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/assigning-values-to-choices-for-select-multiple/td-p/1140157" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-questions/assigning-values-to-choices-for-select-multiple/td-p/1140157&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I've tried update the bind type to int, but now the score is showing blank instead of showing any values.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 17:30:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-assessment-values/m-p/1379838#M54611</guid>
      <dc:creator>alyssajhnsn</dc:creator>
      <dc:date>2024-02-08T17:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Select multiple assessment values</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-assessment-values/m-p/1379850#M54612</link>
      <description>&lt;P&gt;Is your score field an Integer type?&amp;nbsp; Did you also set that bind to int?&amp;nbsp; If you are still stuck then just post the form.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 17:41:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-assessment-values/m-p/1379850#M54612</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2024-02-08T17:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Select multiple assessment values</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-assessment-values/m-p/1379876#M54613</link>
      <description>&lt;P&gt;EDIT: I made a few notes here as I was going through the XLSX (attached).&lt;/P&gt;&lt;P&gt;This is fine as-is because you are using &lt;STRONG&gt;count-selected()&lt;/STRONG&gt; on its own. It's just the nature of count-selected() to give you the result you are looking for. But, if you combine this with other calculates you will likely run into issues:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_2-1707413637265.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94125i3E0D769645BBAB28/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_2-1707413637265.png" alt="abureaux_2-1707413637265.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This one &lt;U&gt;wont&lt;/U&gt; work because you wrapped the entire end result in &lt;STRONG&gt;int()&lt;/STRONG&gt;. Essentially, you are converting your string of separate numbers (e.g., 111 vs 3) into an integer. If you want this to work, each individual item needs its own &lt;STRONG&gt;int()&lt;/STRONG&gt; (e.g., int(${field1}) + int(${field2}):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_5-1707413869682.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94129i253635152DE06254/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_5-1707413869682.png" alt="abureaux_5-1707413869682.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You use a lot of &lt;EM&gt;type&lt;/EM&gt;&lt;STRONG&gt; hidden&lt;/STRONG&gt; fields. This is not recommended:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_3-1707413732481.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94127iF99FA45DFC86ADA2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_3-1707413732481.png" alt="abureaux_3-1707413732481.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The better approach is to select the appropriate data type (e.g., Integer) and then make the &lt;EM&gt;appearance&lt;/EM&gt; &lt;STRONG&gt;hidden&lt;/STRONG&gt;:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_4-1707413796355.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94128i62CFF4CE8E47B9FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_4-1707413796355.png" alt="abureaux_4-1707413796355.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Because your IF statements use "null", you are adding stuff that shouldn't be added, meaning you may end up with this in some cases (NaN = Not a Number):&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1707413598042.png" style="width: 248px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94123iA07E6753A208F0F9/image-dimensions/248x88?v=v2" width="248" height="88" role="button" title="abureaux_0-1707413598042.png" alt="abureaux_0-1707413598042.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Looking at your formula, it may make more sense to swap a few things up.For example, most of your "hidden" fields should b calculates.&lt;/P&gt;&lt;P&gt;I also noticed you were missing your constraints for the &lt;STRONG&gt;spinners&lt;/STRONG&gt;. This is how they should appear:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_9-1707414668759.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94140iA1808C8867F44C4D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_9-1707414668759.png" alt="abureaux_9-1707414668759.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For future reference: calculates do not require a &lt;EM&gt;label&lt;/EM&gt;, and notes do not require a &lt;EM&gt;name&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;I have made some edits to the XLSX. I am not saying that it is perfect, but it should put you into the right direction (and all of your calculate fields at the end are working).&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 18:00:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-assessment-values/m-p/1379876#M54613</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2024-02-08T18:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Select multiple assessment values</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-assessment-values/m-p/1383516#M54843</link>
      <description>&lt;P&gt;Thank you, I will take a look at this and probably pester you if I have more questions. Thank you so much. We are in the process of validating this assessment (the first time an assessment on this topic has been validated), and it may end up being adopted by other communities for use as well. So it's important I get the form in the best shape.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 17:31:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-assessment-values/m-p/1383516#M54843</guid>
      <dc:creator>alyssajhnsn</dc:creator>
      <dc:date>2024-02-16T17:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Select multiple assessment values</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-assessment-values/m-p/1385603#M54948</link>
      <description>&lt;P&gt;Thank you SO much for your help. You're a life saver. I got it working with your help, although for some calculations I had to add in an int specification in the calculation.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 18:18:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-assessment-values/m-p/1385603#M54948</guid>
      <dc:creator>alyssajhnsn</dc:creator>
      <dc:date>2024-02-22T18:18:45Z</dc:date>
    </item>
  </channel>
</rss>

