<?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: Autofill field from layer in AGOL, in second group in survey123 in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/autofill-field-from-layer-in-agol-in-second-group/m-p/1516123#M58367</link>
    <description>&lt;P&gt;Oh thank you!! Great idea to use the hidden temp fields and pull from there. Seems to work really well.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Aug 2024 14:48:40 GMT</pubDate>
    <dc:creator>RileyScanlan</dc:creator>
    <dc:date>2024-08-07T14:48:40Z</dc:date>
    <item>
      <title>Autofill field from layer in AGOL, in second group in survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/autofill-field-from-layer-in-agol-in-second-group/m-p/1516009#M58355</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I am trying to autofill an answer to a question in the second group in my survey123, pulling information from a layer in a field map. The user clicks the following URL in a hosted feature layer feature:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;arcgis-survey123://?itemID=xyzxyzxyzxyz&amp;amp;action=collect&amp;amp;field:GRID_ID={GRID_ID}&amp;amp;field:GRID_HA={GRID_HA}&amp;amp;field:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the survey should fill out the GRID_ID and GRID_HA fields using the values in the original hosted layer's fields with the same names. I have this working in another survey where those questions are in the first 'group' of questions in a survey. Now I have another survey where the GRID_ID and GRID_HA questions are in a second group, and the autofill is no longer working. I should note the user must select 'yes' to a question in the first group in order for the second group to appear. Has anyone come across this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 11:18:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/autofill-field-from-layer-in-agol-in-second-group/m-p/1516009#M58355</guid>
      <dc:creator>RileyScanlan</dc:creator>
      <dc:date>2024-08-07T11:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Autofill field from layer in AGOL, in second group in survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/autofill-field-from-layer-in-agol-in-second-group/m-p/1516052#M58359</link>
      <description>&lt;P&gt;If you are using relevant to hide the fields then they have a value of "".&amp;nbsp; Passing in the values will not work since the field is not relevant at the time you are passing in.&lt;/P&gt;&lt;P&gt;You could try using hidden type instead but note this means even if they do not select yes the value will be there.&lt;/P&gt;&lt;P&gt;One way to pull this off is have two temp hidden fields that take in the values from the URL.&amp;nbsp; Then in your relevant questions later have a calc that pulls from the temp fields.&amp;nbsp; This way the fields will be "" if the user never selects yes and will get the passed in values if they do pick yes.&lt;/P&gt;&lt;P&gt;Hope that makes sense.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 12:54:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/autofill-field-from-layer-in-agol-in-second-group/m-p/1516052#M58359</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2024-08-07T12:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Autofill field from layer in AGOL, in second group in survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/autofill-field-from-layer-in-agol-in-second-group/m-p/1516123#M58367</link>
      <description>&lt;P&gt;Oh thank you!! Great idea to use the hidden temp fields and pull from there. Seems to work really well.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 14:48:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/autofill-field-from-layer-in-agol-in-second-group/m-p/1516123#M58367</guid>
      <dc:creator>RileyScanlan</dc:creator>
      <dc:date>2024-08-07T14:48:40Z</dc:date>
    </item>
  </channel>
</rss>

