<?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 return a boolean value (0 or 1)  different than label in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/return-a-boolean-value-0-or-1-different-than-label/m-p/1127563#M39349</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would like to return a boolean value : 0 or 1 for a 'yes' or 'no' request.&lt;/P&gt;&lt;P&gt;I use text field type because apparently there are no boolean field type.&lt;/P&gt;&lt;P&gt;how to return a value &lt;U&gt;different than the label&lt;/U&gt; field ?&lt;/P&gt;&lt;P&gt;0 for no&lt;/P&gt;&lt;P&gt;1 for yes&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Dec 2021 10:43:02 GMT</pubDate>
    <dc:creator>GregoireCatineau</dc:creator>
    <dc:date>2021-12-20T10:43:02Z</dc:date>
    <item>
      <title>return a boolean value (0 or 1)  different than label</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/return-a-boolean-value-0-or-1-different-than-label/m-p/1127563#M39349</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would like to return a boolean value : 0 or 1 for a 'yes' or 'no' request.&lt;/P&gt;&lt;P&gt;I use text field type because apparently there are no boolean field type.&lt;/P&gt;&lt;P&gt;how to return a value &lt;U&gt;different than the label&lt;/U&gt; field ?&lt;/P&gt;&lt;P&gt;0 for no&lt;/P&gt;&lt;P&gt;1 for yes&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 10:43:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/return-a-boolean-value-0-or-1-different-than-label/m-p/1127563#M39349</guid>
      <dc:creator>GregoireCatineau</dc:creator>
      <dc:date>2021-12-20T10:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: return a boolean value (0 or 1)  different than label</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/return-a-boolean-value-0-or-1-different-than-label/m-p/1127594#M39353</link>
      <description>&lt;P&gt;Good,&lt;/P&gt;&lt;P&gt;if you use conditional expressions, the value becomes boolean.&lt;BR /&gt;&lt;BR /&gt;greetings&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;url:&lt;A href="https://doc.arcgis.com/es/survey123/desktop/create-surveys/xlsformformulas.htm" target="_blank"&gt;https://doc.arcgis.com/es/survey123/desktop/create-surveys/xlsformformulas.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JavierCMartnezPrieto_0-1640006203437.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/30045i99E173D762681C3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JavierCMartnezPrieto_0-1640006203437.png" alt="JavierCMartnezPrieto_0-1640006203437.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 13:17:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/return-a-boolean-value-0-or-1-different-than-label/m-p/1127594#M39353</guid>
      <dc:creator>JavierCMartínezPrieto</dc:creator>
      <dc:date>2021-12-20T13:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: return a boolean value (0 or 1)  different than label</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/return-a-boolean-value-0-or-1-different-than-label/m-p/1127826#M39371</link>
      <description>&lt;P&gt;You can edit this in Survey123 Connect xlsx spreadsheet:&lt;/P&gt;&lt;P&gt;1. In you choice sheet, set the name for your yes label as 1 and no label's name as 0.&lt;/P&gt;&lt;P&gt;2. In the survey sheet, when people select yes, the record will be 1 and no will be 0. But these two fields are stored as text. What you can do is that, in the calculation field, set "number(${question})" which will then convert the submission into number.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if this works and any further questions.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 22:16:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/return-a-boolean-value-0-or-1-different-than-label/m-p/1127826#M39371</guid>
      <dc:creator>FrankOuyang</dc:creator>
      <dc:date>2021-12-20T22:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: return a boolean value (0 or 1)  different than label</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/return-a-boolean-value-0-or-1-different-than-label/m-p/1136798#M39965</link>
      <description>&lt;P&gt;Ok, thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 11:19:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/return-a-boolean-value-0-or-1-different-than-label/m-p/1136798#M39965</guid>
      <dc:creator>GregoireCatineau</dc:creator>
      <dc:date>2022-01-25T11:19:50Z</dc:date>
    </item>
  </channel>
</rss>

