<?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 Pre-populate text field based on previous entry in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/pre-populate-text-field-based-on-previous-entry/m-p/1660622#M64561</link>
    <description>&lt;P&gt;I am having an issue with pulling data from a previous answer to auto populate a text field. Here is my excel:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KatherineScheip_0-1761327798913.png" style="width: 803px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/142578i76267B15C216D3DC/image-dimensions/803x65?v=v2" width="803" height="65" role="button" title="KatherineScheip_0-1761327798913.png" alt="KatherineScheip_0-1761327798913.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The 'select_one" works as expected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The text I want to prepopulate based on the previous question does not. No errors are thrown, but no text pops up automatically.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to try to avoid if statements.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I understand correctly pulldata("thecsvfilename", "the name of the field in the csv that corresponds to the above select_one", "the csv field that I want displayed on my text", ${the name of the above question user input})&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there something wrong with my syntax? Or maybe it had something to do with the field types in my csv?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Oct 2025 18:03:09 GMT</pubDate>
    <dc:creator>KatherineScheip</dc:creator>
    <dc:date>2025-10-24T18:03:09Z</dc:date>
    <item>
      <title>Pre-populate text field based on previous entry</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pre-populate-text-field-based-on-previous-entry/m-p/1660622#M64561</link>
      <description>&lt;P&gt;I am having an issue with pulling data from a previous answer to auto populate a text field. Here is my excel:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KatherineScheip_0-1761327798913.png" style="width: 803px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/142578i76267B15C216D3DC/image-dimensions/803x65?v=v2" width="803" height="65" role="button" title="KatherineScheip_0-1761327798913.png" alt="KatherineScheip_0-1761327798913.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The 'select_one" works as expected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The text I want to prepopulate based on the previous question does not. No errors are thrown, but no text pops up automatically.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to try to avoid if statements.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I understand correctly pulldata("thecsvfilename", "the name of the field in the csv that corresponds to the above select_one", "the csv field that I want displayed on my text", ${the name of the above question user input})&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there something wrong with my syntax? Or maybe it had something to do with the field types in my csv?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 18:03:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pre-populate-text-field-based-on-previous-entry/m-p/1660622#M64561</guid>
      <dc:creator>KatherineScheip</dc:creator>
      <dc:date>2025-10-24T18:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Pre-populate text field based on previous entry</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pre-populate-text-field-based-on-previous-entry/m-p/1660632#M64562</link>
      <description>&lt;P&gt;See the green mark on the field Number.&amp;nbsp; That means its a reserved word and you cannot use it.&lt;/P&gt;&lt;P&gt;Also you can just do ${Fire_Station} in the calc.&amp;nbsp; Pulldata is for grabbing from a service.&amp;nbsp; If the label and name are different you can use&amp;nbsp;jr:choice-name(choice_name, 'question') to get that.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See here for more info &lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm" target="_blank"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 18:24:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pre-populate-text-field-based-on-previous-entry/m-p/1660632#M64562</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2025-10-24T18:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Pre-populate text field based on previous entry</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pre-populate-text-field-based-on-previous-entry/m-p/1660671#M64563</link>
      <description>&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/use-existing-data-in-your-survey-the-pulldata/ba-p/896889" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-blog/use-existing-data-in-your-survey-the-pulldata/ba-p/896889&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The way you have it written answer for&amp;nbsp;&lt;SPAN&gt;${Fire_Station} has to match the answers exactly in the "NormalStaffing" column of your CSV:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Without more context it is tough.&amp;nbsp; I suspect "NormalStaffing" is the number of staff normally at the station and is that what you want returned? And I would expect ${Fire_Station}&amp;nbsp; be the name of a station?&amp;nbsp; Number != Name, if this is the case you might have your columns switch around in the pulldata calculation.&amp;nbsp; Other wise you may need a help column in your csv to match station to station.?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also you could try single quotes. Other than that&amp;nbsp; the syntax looks correct, and without seeing your CSV, thats what I would check first.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and then what &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp;said and fix the Number reserve word, it will only cause issues later.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 19:27:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pre-populate-text-field-based-on-previous-entry/m-p/1660671#M64563</guid>
      <dc:creator>Neal_t_k</dc:creator>
      <dc:date>2025-10-24T19:27:22Z</dc:date>
    </item>
  </channel>
</rss>

