<?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 Populate an answer using another answer in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/populate-an-answer-using-another-answer/m-p/1124406#M39154</link>
    <description>&lt;P&gt;Is it possible to populate a question using information filled in on another question, dependent on the answer to another question?&lt;/P&gt;&lt;P&gt;I'm trying to modify the Damage Assessment Survey that comes in the Damage Assessment Solution to better suit my municipalities needs. We have a select one question asking if the point of contact is the property owner, an occupant, or both owner and occupant of the property. Then there's a set of questions asking point of contact's information, and another section asking owner information. What I'd like to do, is if "Owner" or "Owner/Occupant" is selected, to have the point of contact information populate into the owner information.&lt;/P&gt;&lt;P&gt;I tried using this expression in the calculate section:&lt;BR /&gt;if(selected(${represent}, 'Owner'), ${contactname}, '')&lt;BR /&gt;&lt;EM&gt;where ${represent} is the select one question described above, and the '' at the end is two single quotes to prompt leaving the question blank&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I've tried the above expression, and it didn't work. I've tried the above expression with words in the final single quotes, and it worked fine UNLESS I selected "Owner". I've tried the expression with ${contactname} in single quotes, which returned a file path.&lt;/P&gt;&lt;P&gt;Is it possible? Am i using the wrong expression, or missing something in syntax?&lt;/P&gt;</description>
    <pubDate>Thu, 09 Dec 2021 16:19:46 GMT</pubDate>
    <dc:creator>JenAmes</dc:creator>
    <dc:date>2021-12-09T16:19:46Z</dc:date>
    <item>
      <title>Populate an answer using another answer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/populate-an-answer-using-another-answer/m-p/1124406#M39154</link>
      <description>&lt;P&gt;Is it possible to populate a question using information filled in on another question, dependent on the answer to another question?&lt;/P&gt;&lt;P&gt;I'm trying to modify the Damage Assessment Survey that comes in the Damage Assessment Solution to better suit my municipalities needs. We have a select one question asking if the point of contact is the property owner, an occupant, or both owner and occupant of the property. Then there's a set of questions asking point of contact's information, and another section asking owner information. What I'd like to do, is if "Owner" or "Owner/Occupant" is selected, to have the point of contact information populate into the owner information.&lt;/P&gt;&lt;P&gt;I tried using this expression in the calculate section:&lt;BR /&gt;if(selected(${represent}, 'Owner'), ${contactname}, '')&lt;BR /&gt;&lt;EM&gt;where ${represent} is the select one question described above, and the '' at the end is two single quotes to prompt leaving the question blank&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I've tried the above expression, and it didn't work. I've tried the above expression with words in the final single quotes, and it worked fine UNLESS I selected "Owner". I've tried the expression with ${contactname} in single quotes, which returned a file path.&lt;/P&gt;&lt;P&gt;Is it possible? Am i using the wrong expression, or missing something in syntax?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 16:19:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/populate-an-answer-using-another-answer/m-p/1124406#M39154</guid>
      <dc:creator>JenAmes</dc:creator>
      <dc:date>2021-12-09T16:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Populate an answer using another answer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/populate-an-answer-using-another-answer/m-p/1124724#M39171</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/4717"&gt;@JenAmes&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;If possible would you be able to provide a copy of your XLSForm for testing on our end? I've tested with a simple survey and the calculation is working correctly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 01:57:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/populate-an-answer-using-another-answer/m-p/1124724#M39171</guid>
      <dc:creator>ZacharySutherby</dc:creator>
      <dc:date>2021-12-10T01:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Populate an answer using another answer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/populate-an-answer-using-another-answer/m-p/1124816#M39184</link>
      <description>&lt;P&gt;Here's my file. It's not based on a feature service like the original survey with the Solution is.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 12:32:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/populate-an-answer-using-another-answer/m-p/1124816#M39184</guid>
      <dc:creator>JenAmes</dc:creator>
      <dc:date>2021-12-10T12:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Populate an answer using another answer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/populate-an-answer-using-another-answer/m-p/1125329#M39212</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/4717"&gt;@JenAmes&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use this expression instead of the one you have used:&lt;/P&gt;&lt;P&gt;if(selected(${represent},'Owner') or selected(${represent},'Owner/Occupant'),${contactname},'')&lt;/P&gt;&lt;P&gt;Hope this works,&lt;/P&gt;&lt;P&gt;Wali&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 08:26:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/populate-an-answer-using-another-answer/m-p/1125329#M39212</guid>
      <dc:creator>SayedWali</dc:creator>
      <dc:date>2021-12-13T08:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Populate an answer using another answer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/populate-an-answer-using-another-answer/m-p/1125380#M39216</link>
      <description>&lt;P&gt;I swear I used the exact same syntax previously and it didn't work. But it did this time, so that's all that matters. Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 13:15:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/populate-an-answer-using-another-answer/m-p/1125380#M39216</guid>
      <dc:creator>JenAmes</dc:creator>
      <dc:date>2021-12-13T13:15:13Z</dc:date>
    </item>
  </channel>
</rss>

