<?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: Editing from Inbox - can I make some fields read-only once they've been previously completed? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/editing-from-inbox-can-i-make-some-fields-read/m-p/1279439#M48637</link>
    <description>&lt;P&gt;Hi Rachel,&lt;/P&gt;&lt;P&gt;I recently saw &lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepopulateanswers.htm#ESRI_SECTION1_D52683929B1C4543B236BAC00E7F1876" target="_self"&gt;documentation&lt;/A&gt; about this on the Survey123 website. The documentation recommends using the following expression in the readonly column rather than storing the value in a hidden question for the reason you described above:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;pulldata("@property", 'mode') = 'edit'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This seems to be working for me in both the Survey123 App and online, so it might be worth a try.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Apr 2023 20:46:36 GMT</pubDate>
    <dc:creator>LaurenFrick_RES</dc:creator>
    <dc:date>2023-04-17T20:46:36Z</dc:date>
    <item>
      <title>Editing from Inbox - can I make some fields read-only once they've been previously completed?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/editing-from-inbox-can-i-make-some-fields-read/m-p/1045752#M33777</link>
      <description>&lt;P&gt;I have a survey with repeats which will use the Inbox to edit and add records to the repeat.&amp;nbsp; However, I want to prevent the "metadata" that sits outside the repeat from being edited by subsequent users after the initial submission.&amp;nbsp; I was trying to use an "if" statement in the readonly column, but getting nowhere.&amp;nbsp; XLS form attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fields to become read-only when editing from Inbox:&lt;/P&gt;&lt;P&gt;Region&lt;/P&gt;&lt;P&gt;Site&lt;/P&gt;&lt;P&gt;Other Site Name&lt;/P&gt;&lt;P&gt;Other Site Grid Reference&lt;/P&gt;&lt;P&gt;Platform Name or ID&lt;/P&gt;&lt;P&gt;Platform Map Location&lt;/P&gt;</description>
      <pubDate>Sun, 11 Apr 2021 13:38:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/editing-from-inbox-can-i-make-some-fields-read/m-p/1045752#M33777</guid>
      <dc:creator>SaraMiller</dc:creator>
      <dc:date>2021-04-11T13:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Editing from Inbox - can I make some fields read-only once they've been previously completed?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/editing-from-inbox-can-i-make-some-fields-read/m-p/1045816#M33778</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/219162"&gt;@SaraMiller&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Try using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;pulldata("@property", 'mode')&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;function&lt;/SPAN&gt;. Example image below - where Question 2 is readonly when the record is opened via the Inbox, and editable in a new survey.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;pulldata("@property", 'mode')&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;function. From the Survey123 documentation (&lt;/SPAN&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm" target="_blank" rel="noopener nofollow noreferrer"&gt;Formulas&lt;/A&gt;&lt;SPAN&gt;), "&lt;/SPAN&gt;&lt;EM&gt;This has three possible values, returning&amp;nbsp;&lt;STRONG&gt;new&lt;/STRONG&gt;&amp;nbsp;if the user is producing a new survey response (including one copied from an existing survey), returning&amp;nbsp;&lt;STRONG&gt;edit&lt;/STRONG&gt;&amp;nbsp;if the user is editing an existing response, and returning&amp;nbsp;&lt;STRONG&gt;view&lt;/STRONG&gt;&amp;nbsp;if the user is viewing an existing response in read-only mode.&lt;/EM&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This can be used for &lt;STRONG&gt;readonly&lt;/STRONG&gt; and &lt;STRONG&gt;relevant&lt;/STRONG&gt;. I have used this in forms with a required image questions (for a new survey) that is also edited&amp;nbsp;via the Inbox -&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-survey123-ideas/survey123-image-question-disable-required-in-inbox/idc-p/1002463#M1327" target="_blank" rel="noopener"&gt;Survey123 Image Question: Disable 'Required' in In... - Esri Community&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Inbox-Read-Only.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/10593i50D86F7D26157FED/image-size/large?v=v2&amp;amp;px=999" role="button" title="Inbox-Read-Only.png" alt="Inbox-Read-Only.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Jamie.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 03:56:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/editing-from-inbox-can-i-make-some-fields-read/m-p/1045816#M33778</guid>
      <dc:creator>JamieLambert</dc:creator>
      <dc:date>2021-04-12T03:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Editing from Inbox - can I make some fields read-only once they've been previously completed?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/editing-from-inbox-can-i-make-some-fields-read/m-p/1047619#M33884</link>
      <description>&lt;P&gt;Thank you so much,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/228192"&gt;@JamieLambert&lt;/a&gt;, that's worked!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 15:42:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/editing-from-inbox-can-i-make-some-fields-read/m-p/1047619#M33884</guid>
      <dc:creator>SaraMiller</dc:creator>
      <dc:date>2021-04-15T15:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Editing from Inbox - can I make some fields read-only once they've been previously completed?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/editing-from-inbox-can-i-make-some-fields-read/m-p/1148127#M40839</link>
      <description>&lt;P&gt;I am not able to place ${survey_mode} = 'edit' into the readonly field, it fails validation restrictions on the cell, is there another method to set a field to edit just once?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 19:21:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/editing-from-inbox-can-i-make-some-fields-read/m-p/1148127#M40839</guid>
      <dc:creator>m3</dc:creator>
      <dc:date>2022-02-25T19:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Editing from Inbox - can I make some fields read-only once they've been previously completed?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/editing-from-inbox-can-i-make-some-fields-read/m-p/1153961#M41320</link>
      <description>&lt;P&gt;It will yell at you but it does work as long and it is true.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 18:42:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/editing-from-inbox-can-i-make-some-fields-read/m-p/1153961#M41320</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-03-15T18:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Editing from Inbox - can I make some fields read-only once they've been previously completed?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/editing-from-inbox-can-i-make-some-fields-read/m-p/1231183#M45997</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/228192"&gt;@JamieLambert&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we're using this with a pulldata function and it does a great job of calculating a new value when mode="new", and of preserving an existing value when mode="edit."&lt;/P&gt;&lt;P&gt;However the field itself is NOT read only in the native app or web form. So while I&amp;nbsp; get the desired results, it is editable. Is this a bug feature?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 10:57:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/editing-from-inbox-can-i-make-some-fields-read/m-p/1231183#M45997</guid>
      <dc:creator>rachelm</dc:creator>
      <dc:date>2022-11-14T10:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Editing from Inbox - can I make some fields read-only once they've been previously completed?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/editing-from-inbox-can-i-make-some-fields-read/m-p/1279439#M48637</link>
      <description>&lt;P&gt;Hi Rachel,&lt;/P&gt;&lt;P&gt;I recently saw &lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepopulateanswers.htm#ESRI_SECTION1_D52683929B1C4543B236BAC00E7F1876" target="_self"&gt;documentation&lt;/A&gt; about this on the Survey123 website. The documentation recommends using the following expression in the readonly column rather than storing the value in a hidden question for the reason you described above:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;pulldata("@property", 'mode') = 'edit'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This seems to be working for me in both the Survey123 App and online, so it might be worth a try.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 20:46:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/editing-from-inbox-can-i-make-some-fields-read/m-p/1279439#M48637</guid>
      <dc:creator>LaurenFrick_RES</dc:creator>
      <dc:date>2023-04-17T20:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Editing from Inbox - can I make some fields read-only once they've been previously completed?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/editing-from-inbox-can-i-make-some-fields-read/m-p/1313590#M50928</link>
      <description>&lt;P&gt;It appears that when any of the&amp;nbsp;&lt;STRONG&gt;pulldata("@property", 'mode')&amp;nbsp;&lt;/STRONG&gt;settings are placed into the Survey 1,2,3 "read only" field the setting is not honored. As described by&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/515689"&gt;@rachelm&lt;/a&gt;&amp;nbsp;above. In this case I am using a text field and setting the&amp;nbsp;pulldata("@property", 'mode') = 'edit' in the read only field. The pull data property mode works as expected in the relevant field. The screenshot shows where the expression works and doesn't work.&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;&amp;nbsp;Is this to be expected?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="santamariaa_0-1690810433766.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/76825i36D838538647AB21/image-size/medium?v=v2&amp;amp;px=400" role="button" title="santamariaa_0-1690810433766.png" alt="santamariaa_0-1690810433766.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 13:34:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/editing-from-inbox-can-i-make-some-fields-read/m-p/1313590#M50928</guid>
      <dc:creator>santamariaa</dc:creator>
      <dc:date>2023-07-31T13:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Editing from Inbox - can I make some fields read-only once they've been previously completed?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/editing-from-inbox-can-i-make-some-fields-read/m-p/1314146#M50959</link>
      <description>&lt;P&gt;I was not aware that pulldata("@property", 'mode') was not working in the readonly column when the record is opened from the Inbox. I do not think this is expected.&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/251557"&gt;@ZacharySutherby&lt;/a&gt;&amp;nbsp; Thoughts?&amp;nbsp; This is probably worth documenting as a BUG via Tech Support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a workaround, you may want to create a calculate question to get the mode, and then reference that value from the readonly column.&amp;nbsp; Do not forget to set the &lt;EM&gt;esriFieldType&lt;/EM&gt; column to &lt;EM&gt;null&lt;/EM&gt; on the calculate to avoid having that output go into your survey layer.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 17:36:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/editing-from-inbox-can-i-make-some-fields-read/m-p/1314146#M50959</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2023-08-01T17:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Editing from Inbox - can I make some fields read-only once they've been previously completed?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/editing-from-inbox-can-i-make-some-fields-read/m-p/1314170#M50961</link>
      <description>&lt;P&gt;I should have clarified that this is not pulling from an inbox but a brand new survey in creation. So maybe I am misunderstanding the use of the mode. It seemed that the documentation implied that if I put "pulldata("@property", 'mode') = 'edit'" in the read only column it would make that field read only in an editing environment. So workflow 1. survey response is submitted in "new" mode and some fields are hidden using the pulldata property in the relevant column&amp;nbsp; 2. we pass that survey to a dashboard for someone else to review in "edit" mode on fields hidden in the initial survey BUT make the original data submittal fields read only using the pulldata property mode in the read only column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are just exploring this workflow as an alternative option to the idea of creating several surveys with hidden fields depending on who/how the end user is accessing the information.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 17:15:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/editing-from-inbox-can-i-make-some-fields-read/m-p/1314170#M50961</guid>
      <dc:creator>santamariaa</dc:creator>
      <dc:date>2023-08-01T17:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Editing from Inbox - can I make some fields read-only once they've been previously completed?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/editing-from-inbox-can-i-make-some-fields-read/m-p/1314210#M50963</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/684195"&gt;@santamariaa&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you using the &lt;A href="https://doc.arcgis.com/en/survey123/reference/whatissurvey123.htm#ESRI_SECTION1_FDF6AC2882064A349EACD9CB2F434B6C" target="_self"&gt;Survey123 field app or web app&lt;/A&gt;? You mentioned opening the survey in a Dashboard so it sounds like you may be using the web app.&amp;nbsp;&lt;/P&gt;&lt;P&gt;At this time the web app does not support expressions in the read only column. Please see the &lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformexpressions.htm" target="_self"&gt;Form expressions documentation&lt;/A&gt; for reference. We have&amp;nbsp;&lt;SPAN class=""&gt;ENH-000140250 in our backlog to support this in the future. Please feel free to reach out to &lt;A href="https://support.esri.com/en-us/contact" target="_self"&gt;Esri Technical Support&lt;/A&gt; to be attached to the enhancement and track progress on the feature.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 18:12:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/editing-from-inbox-can-i-make-some-fields-read/m-p/1314210#M50963</guid>
      <dc:creator>ZacharySutherby</dc:creator>
      <dc:date>2023-08-01T18:12:55Z</dc:date>
    </item>
  </channel>
</rss>

