<?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: Show and hide form elements when form is revisited via Inbox in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/show-and-hide-form-elements-when-form-is-revisited/m-p/873114#M28658</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks James, That did the trick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 May 2018 15:28:08 GMT</pubDate>
    <dc:creator>BrentKinal1</dc:creator>
    <dc:date>2018-05-30T15:28:08Z</dc:date>
    <item>
      <title>Show and hide form elements when form is revisited via Inbox</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/show-and-hide-form-elements-when-form-is-revisited/m-p/873110#M28654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a survey where I only want users to add data within a repeat but still view the original data in the parent form when revisiting the survey via the Inbox. I figured this could be done with a note summarizing the parent form while hiding all of the question on the parent form. I am have some difficulty coming up with a relevant statement that can accomplish this. I was thinking it could be done using dates I have a date field:&amp;nbsp; originalSurveyDate&amp;nbsp; calculated to once(today())&lt;/P&gt;&lt;P&gt;&amp;nbsp;I was thinking that I could set the relevant expression for the fields I want to show initially to ${originalSurveyDate} = today()&lt;/P&gt;&lt;P&gt;and the relevant for the note that I want to appear on revisit from the inbox to ${originalSurveyDate} != today() or ${originalSurveyDate} &amp;lt; today(), however neither of these work. Any thoughts on solutions to my conundrum would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 18:15:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/show-and-hide-form-elements-when-form-is-revisited/m-p/873110#M28654</guid>
      <dc:creator>BrentKinal1</dc:creator>
      <dc:date>2018-05-24T18:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Show and hide form elements when form is revisited via Inbox</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/show-and-hide-form-elements-when-form-is-revisited/m-p/873111#M28655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brent,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To display data in an editing workflow, you can set questions to be read only.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 20:03:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/show-and-hide-form-elements-when-form-is-revisited/m-p/873111#M28655</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-05-24T20:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Show and hide form elements when form is revisited via Inbox</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/show-and-hide-form-elements-when-form-is-revisited/m-p/873112#M28656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. Unfortunately setting questions to read only won't work with the workflow I am trying to set up. Basically I want to expose all questions in the parent from for editing the first time a form is submitted and then only questions within a repeat for editing when the form is opened again through the inbox. I also have values for some questions set to NULL which come back blank in the Inbox, I am trying to hide these questions when the form is opened for editing from the Inbox so they don't confuse the data collectors.&lt;/P&gt;&lt;P&gt;I would also like to show a summary of the answers from the parent form. My thought is to concatenate them in a Note.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I can accomplish my goal using a relevant expression but I am having troubles coming up with the proper syntax.&lt;/P&gt;&lt;P&gt;Is there a way to write a relevant expression that would do the following&lt;/P&gt;&lt;P&gt;display the question if the start (date) is the same as today()&lt;/P&gt;&lt;P&gt;and a second expression&lt;/P&gt;&lt;P&gt;display question/note if the Start (date) was before today()?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better yet, is there some sort counter that can determine how many times the from has been edited from the inbox?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have accomplished similar workflows in past using two forms, first creating a master form with all fields and then creating separate forms for both the initial survey and one for return visits (which can only be edited through the inbox)&amp;nbsp; all going to the same submission URL. However, at the request of my users I am really trying to avoid having to use two forms in this work flow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 14:22:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/show-and-hide-form-elements-when-form-is-revisited/m-p/873112#M28656</guid>
      <dc:creator>BrentKinal1</dc:creator>
      <dc:date>2018-05-25T14:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Show and hide form elements when form is revisited via Inbox</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/show-and-hide-form-elements-when-form-is-revisited/m-p/873113#M28657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brent,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should be able to make a comparison on the date fairly easily; today() should be comparable to a previous date. &amp;nbsp;Alternatively, you could use format-date() and compare m/d/y strings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 19:27:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/show-and-hide-form-elements-when-form-is-revisited/m-p/873113#M28657</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-05-25T19:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Show and hide form elements when form is revisited via Inbox</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/show-and-hide-form-elements-when-form-is-revisited/m-p/873114#M28658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks James, That did the trick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 15:28:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/show-and-hide-form-elements-when-form-is-revisited/m-p/873114#M28658</guid>
      <dc:creator>BrentKinal1</dc:creator>
      <dc:date>2018-05-30T15:28:08Z</dc:date>
    </item>
  </channel>
</rss>

