<?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: Automatically populate NA for unfilled fields in Survey123 Connect in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/automatically-populate-na-for-unfilled-fields-in/m-p/1674869#M65022</link>
    <description>&lt;P&gt;Thank you for the suggestion, Cody. I tried it and a few variations, but no luck. I took a look at the thread you linked and tried that format with my data, but that did not work either.&lt;/P&gt;&lt;P&gt;I will keep playing around. Appreciate your help!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;</description>
    <pubDate>Wed, 24 Dec 2025 20:48:37 GMT</pubDate>
    <dc:creator>WFCAdmin</dc:creator>
    <dc:date>2025-12-24T20:48:37Z</dc:date>
    <item>
      <title>Automatically populate NA for unfilled fields in Survey123 Connect</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/automatically-populate-na-for-unfilled-fields-in/m-p/1674806#M65020</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I’m working with a &lt;STRONG&gt;Survey123 Connect form for a salmon spawning survey. The survey layer has many fields, and depending on what data is collected at a point, &lt;STRONG&gt;many of those fields may not be populated.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Instead of leaving these fields &amp;lt;null&amp;gt;, I’d like them to be filled with "NA"&amp;nbsp;via the survey. All of the fields that should default to "NA" are &lt;STRONG&gt;select_one fields, and all are tied to &lt;STRONG&gt;relevant expressions.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I’ve tried setting this&amp;nbsp;&lt;STRONG&gt;default:&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;if(&lt;SPAN class=""&gt;${Data_Type} = &lt;SPAN class=""&gt;'Reach Start' or &lt;SPAN class=""&gt;${Data_Type} = &lt;SPAN class=""&gt;'Reach End', &lt;SPAN class=""&gt;'', &lt;SPAN class=""&gt;'NA')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;and using this &lt;STRONG&gt;choice filter:&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;(&lt;SPAN class=""&gt;${Data_Type} != &lt;SPAN class=""&gt;'Reach Start' and &lt;SPAN class=""&gt;${Data_Type} != &lt;SPAN class=""&gt;'Reach End') or name != &lt;SPAN class=""&gt;'NA'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;This is for "Flow" data, which is only being gathered when the 'Reach Start' or 'Reach End' Data_Type is selected.&lt;/P&gt;&lt;P&gt;Here is the &lt;STRONG&gt;Relevant expression&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;${Data_Type} = 'Reach Start' or ${Data_Type} = 'Reach End'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;My attempt did not work.&lt;/P&gt;&lt;P&gt;What’s the best approach to populate "NA" for all relevant fields without manually adjusting each one? Any sample formulas, workflows, or best practices would be greatly appreciated!&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Aaron&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 Dec 2025 01:23:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/automatically-populate-na-for-unfilled-fields-in/m-p/1674806#M65020</guid>
      <dc:creator>WFCAdmin</dc:creator>
      <dc:date>2025-12-24T01:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically populate NA for unfilled fields in Survey123 Connect</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/automatically-populate-na-for-unfilled-fields-in/m-p/1674846#M65021</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/90704"&gt;@WFCAdmin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found a post here:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/using-null-or-not-null-values-in-a-field-to-set-a/td-p/1251868" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-questions/using-null-or-not-null-values-in-a-field-to-set-a/td-p/1251868&lt;/A&gt;&lt;/P&gt;&lt;P&gt;That outlines this here:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;if((string-length(${Location})&amp;gt;0),'existing','new')&lt;/LI-CODE&gt;&lt;P&gt;This basically just says, if a field is present, return existing, else, return NA, in your state, you could extend the if statement to validate that it is a Reach Start or Reach End, and if it is, then it's valid, otherwise, return the NA value. Something like below, note that I had taken notes from the Google Search AI to create this function here:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;if(${Data_Type} = 'Reach Start' or ${Data_Type} = 'Reach End', ${Flow_input}, 'NA')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;</description>
      <pubDate>Wed, 24 Dec 2025 15:00:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/automatically-populate-na-for-unfilled-fields-in/m-p/1674846#M65021</guid>
      <dc:creator>CodyPatterson</dc:creator>
      <dc:date>2025-12-24T15:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically populate NA for unfilled fields in Survey123 Connect</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/automatically-populate-na-for-unfilled-fields-in/m-p/1674869#M65022</link>
      <description>&lt;P&gt;Thank you for the suggestion, Cody. I tried it and a few variations, but no luck. I took a look at the thread you linked and tried that format with my data, but that did not work either.&lt;/P&gt;&lt;P&gt;I will keep playing around. Appreciate your help!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;</description>
      <pubDate>Wed, 24 Dec 2025 20:48:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/automatically-populate-na-for-unfilled-fields-in/m-p/1674869#M65022</guid>
      <dc:creator>WFCAdmin</dc:creator>
      <dc:date>2025-12-24T20:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically populate NA for unfilled fields in Survey123 Connect</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/automatically-populate-na-for-unfilled-fields-in/m-p/1674992#M65023</link>
      <description>&lt;P&gt;You could just set the Default column to "NA" for all fields, and any entry users make will override that.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Dec 2025 14:11:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/automatically-populate-na-for-unfilled-fields-in/m-p/1674992#M65023</guid>
      <dc:creator>ZenMasterZeke</dc:creator>
      <dc:date>2025-12-26T14:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically populate NA for unfilled fields in Survey123 Connect</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/automatically-populate-na-for-unfilled-fields-in/m-p/1675031#M65024</link>
      <description>&lt;P&gt;Thank you for the reply!&lt;/P&gt;&lt;P&gt;I tried that, and it got me close. I added "NA" to all of the select_one options and set the default to "NA." The problem with this is that I don’t want field staff to have required fields pre-filled with "NA." With the default set to "NA," the select_one was already populated, and I don’t want them accidentally leaving "NA" assigned, resulting in missing data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Sat, 27 Dec 2025 00:31:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/automatically-populate-na-for-unfilled-fields-in/m-p/1675031#M65024</guid>
      <dc:creator>WFCAdmin</dc:creator>
      <dc:date>2025-12-27T00:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically populate NA for unfilled fields in Survey123 Connect</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/automatically-populate-na-for-unfilled-fields-in/m-p/1675035#M65025</link>
      <description>&lt;P&gt;Here is a better example of how the survey is formatted, not – these are all text fields.&lt;/P&gt;&lt;P&gt;Field staff first select the &lt;STRONG&gt;Data_Type&lt;/STRONG&gt; via &lt;EM&gt;select_one&lt;/EM&gt;. The options are &lt;STRONG&gt;Reach Start&lt;/STRONG&gt;, &lt;STRONG&gt;Reach End&lt;/STRONG&gt;, &lt;STRONG&gt;Redd&lt;/STRONG&gt;, &lt;STRONG&gt;Live Fish&lt;/STRONG&gt;, and &lt;STRONG&gt;Carcass&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;If &lt;STRONG&gt;Live Fish&lt;/STRONG&gt; is selected, they are prompted with two new &lt;EM&gt;select_one&lt;/EM&gt; questions: &lt;STRONG&gt;Species&lt;/STRONG&gt; and &lt;STRONG&gt;Mark&lt;/STRONG&gt;. All other fields are hidden, for example, the fields &lt;STRONG&gt;Weather&lt;/STRONG&gt;, &lt;STRONG&gt;Flow&lt;/STRONG&gt;, and &lt;STRONG&gt;Visibility&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Weather&lt;/STRONG&gt;, &lt;STRONG&gt;Flow&lt;/STRONG&gt;, and &lt;STRONG&gt;Visibility&lt;/STRONG&gt; are also &lt;EM&gt;select_one&lt;/EM&gt; fields that appear if staff first select the &lt;STRONG&gt;Data_Type - &lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;Reach Start&lt;/STRONG&gt; or &lt;STRONG&gt;Reach End&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;If &lt;STRONG&gt;Live Fish&lt;/STRONG&gt; is selected, I would like staff to fill in the &lt;STRONG&gt;Species&lt;/STRONG&gt; and &lt;STRONG&gt;Mark&lt;/STRONG&gt; data, via the select one options. I do not want &lt;STRONG&gt;NA&lt;/STRONG&gt; to show up in the &lt;EM&gt;select_ one&lt;/EM&gt; list for &lt;STRONG&gt;Species&lt;/STRONG&gt; and &lt;STRONG&gt;Mark&lt;/STRONG&gt;. Field staff will not see the &lt;STRONG&gt;Flow&lt;/STRONG&gt;, &lt;STRONG&gt;Weather&lt;/STRONG&gt;, and &lt;STRONG&gt;Visibility&lt;/STRONG&gt; fields, which are assigned &lt;STRONG&gt;NA&lt;/STRONG&gt; by a calculation.&lt;/P&gt;&lt;P&gt;If &lt;STRONG&gt;Reach Start&lt;/STRONG&gt; is selected, I would like field staff to fill in the &lt;STRONG&gt;Flow&lt;/STRONG&gt;, &lt;STRONG&gt;Weather&lt;/STRONG&gt;, and &lt;STRONG&gt;Visibility&lt;/STRONG&gt; data, via the select one options. I do not want &lt;STRONG&gt;NA&lt;/STRONG&gt; to show up in the &lt;EM&gt;select_ one&lt;/EM&gt; list for &lt;STRONG&gt;Flow&lt;/STRONG&gt;, &lt;STRONG&gt;Weather&lt;/STRONG&gt;, and &lt;STRONG&gt;Visibility&lt;/STRONG&gt;. Field staff will not see the &lt;STRONG&gt;Species&lt;/STRONG&gt; and &lt;STRONG&gt;Mark&lt;/STRONG&gt; fields, which are assigned &lt;STRONG&gt;NA&lt;/STRONG&gt; by a calculation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Flow&lt;/STRONG&gt;, &lt;STRONG&gt;Weather&lt;/STRONG&gt;, &lt;STRONG&gt;Visibility, Species&lt;/STRONG&gt;, and &lt;STRONG&gt;Mark &lt;/STRONG&gt;are all &lt;STRONG&gt;required&lt;/STRONG&gt; fields and are all &lt;STRONG&gt;select_one&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Relevant&lt;/STRONG&gt; for &lt;STRONG&gt;Flow&lt;/STRONG&gt;, &lt;STRONG&gt;Weather&lt;/STRONG&gt;, and &lt;STRONG&gt;Visibility &lt;/STRONG&gt;is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;${Data_Type} = 'Reach Start' or ${Data_Type} = 'Reach End'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Relevant&lt;/STRONG&gt; for &lt;STRONG&gt;Species&lt;/STRONG&gt; and &lt;STRONG&gt;Mark &lt;/STRONG&gt;is:&lt;/P&gt;&lt;P&gt;${Data_Type} = 'Carcass' or ${Data_Type} = 'Live Fish'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the &lt;STRONG&gt;calculation&lt;/STRONG&gt;: if(${Data_Type} = 'Live Fish', 'NA', '') for &lt;STRONG&gt;Flow&lt;/STRONG&gt;, &lt;STRONG&gt;Weather&lt;/STRONG&gt;, and &lt;STRONG&gt;Visibility&lt;/STRONG&gt;. When I collected a sample point for &lt;STRONG&gt;Live Fish&lt;/STRONG&gt;, &lt;STRONG&gt;Flow&lt;/STRONG&gt;, &lt;STRONG&gt;Weather&lt;/STRONG&gt;, and &lt;STRONG&gt;Visibility &lt;/STRONG&gt;were still &lt;STRONG&gt;&amp;lt;null&amp;gt;&lt;/STRONG&gt;, not &lt;STRONG&gt;NA.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Dec 2025 00:53:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/automatically-populate-na-for-unfilled-fields-in/m-p/1675035#M65025</guid>
      <dc:creator>WFCAdmin</dc:creator>
      <dc:date>2025-12-27T00:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically populate NA for unfilled fields in Survey123 Connect</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/automatically-populate-na-for-unfilled-fields-in/m-p/1675104#M65026</link>
      <description>&lt;P&gt;Leave the default "NA" off required questions, set their required field to "yes', and maybe add a hint saying something like "This is a required question".&lt;/P&gt;&lt;P&gt;You can also set the Relevant field so a question only appears when a condition is met, usually when another question has or is a particular value, i.e. ${some_other_field} &amp;gt;= 10. Any fields with that condition in their Relevant column that don't match the condition won't show, even when Required is set to yes. The survey can still be submitted.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Dec 2025 12:43:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/automatically-populate-na-for-unfilled-fields-in/m-p/1675104#M65026</guid>
      <dc:creator>ZenMasterZeke</dc:creator>
      <dc:date>2025-12-29T12:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically populate NA for unfilled fields in Survey123 Connect</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/automatically-populate-na-for-unfilled-fields-in/m-p/1675115#M65028</link>
      <description>&lt;P&gt;You can put a formula in the required actually.&amp;nbsp; It will complain but it works.&amp;nbsp; So * != "NA"&amp;nbsp; or similar should work.&lt;/P&gt;&lt;P&gt;But personally having all these NA is not great data practice.&amp;nbsp; Null or blank is NA and call it good.&amp;nbsp; Will end up driving you nuts.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Dec 2025 14:30:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/automatically-populate-na-for-unfilled-fields-in/m-p/1675115#M65028</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2025-12-29T14:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically populate NA for unfilled fields in Survey123 Connect</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/automatically-populate-na-for-unfilled-fields-in/m-p/1675116#M65029</link>
      <description>&lt;P&gt;First off,&amp;nbsp; you will need to use the&amp;nbsp;body::esri:visible field instead of the relevant field.&amp;nbsp; If questions are not relevant they are null, i.e. you will not be able to have them hold an answer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-hidden-relevant-and/ba-p/1165842" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-hidden-relevant-and/ba-p/1165842&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, put NA in you choice list for Flow, Weather, and Visibility, And then do a filter on your choice list for those to not show NA when they are visible.&amp;nbsp; The calculation above should work then.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-choice-filters/ba-p/894046" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-choice-filters/ba-p/894046&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You also many need to make&amp;nbsp;Flow, Weather, and Visibility conditionally required when they are visible.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Dec 2025 14:35:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/automatically-populate-na-for-unfilled-fields-in/m-p/1675116#M65029</guid>
      <dc:creator>Neal_t_k</dc:creator>
      <dc:date>2025-12-29T14:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically populate NA for unfilled fields in Survey123 Connect</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/automatically-populate-na-for-unfilled-fields-in/m-p/1675122#M65030</link>
      <description>&lt;P&gt;Here's an example&lt;/P&gt;</description>
      <pubDate>Mon, 29 Dec 2025 14:57:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/automatically-populate-na-for-unfilled-fields-in/m-p/1675122#M65030</guid>
      <dc:creator>Neal_t_k</dc:creator>
      <dc:date>2025-12-29T14:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically populate NA for unfilled fields in Survey123 Connect</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/automatically-populate-na-for-unfilled-fields-in/m-p/1675221#M65038</link>
      <description>&lt;P&gt;Neal_t_k&lt;/P&gt;&lt;P&gt;Thank you so much. This method works perfectly across the entire survey!&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;</description>
      <pubDate>Mon, 29 Dec 2025 22:56:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/automatically-populate-na-for-unfilled-fields-in/m-p/1675221#M65038</guid>
      <dc:creator>WFCAdmin</dc:creator>
      <dc:date>2025-12-29T22:56:43Z</dc:date>
    </item>
  </channel>
</rss>

