<?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: How to allow 'edit and resend' ONLY during the same week the survey was taken? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-allow-edit-and-resend-only-during-the-same/m-p/1412327#M56342</link>
    <description>&lt;P&gt;We limit certain surveys for editing by activating the inbox and only displaying the past ten days with a query expression:&amp;nbsp;created_date between CURRENT_DATE - 8 AND CURRENT_DATE+1&lt;/P&gt;&lt;P&gt;This will only display surveys collected within the last ten days (backwards 9 days plus today) so these are the only surveys available to edit via the Inbox.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;--gary&lt;/P&gt;</description>
    <pubDate>Fri, 19 Apr 2024 15:44:11 GMT</pubDate>
    <dc:creator>GaryBowles1</dc:creator>
    <dc:date>2024-04-19T15:44:11Z</dc:date>
    <item>
      <title>How to allow 'edit and resend' ONLY during the same week the survey was taken?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-allow-edit-and-resend-only-during-the-same/m-p/1411208#M56276</link>
      <description>&lt;P&gt;I would like to limit users from editing a form and resubmitting by only allowing them to submit a survey the same week they collected the data.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently I am taking the end type date and comparing it with the today() date to make the form read-only.&lt;/P&gt;&lt;P&gt;if(format-date(${today},'%W') = format-date(${enddate},'%W')&lt;/P&gt;&lt;P&gt;I now realize that %w does not work in calculation so the today() does not recalculate when the form is reopened in the sent folder.&lt;/P&gt;&lt;P&gt;Is there an alternative to this?&amp;nbsp; Maybe with a constraint?&amp;nbsp; I am not sure how to get the last date of the week the initial survey was collected.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 20:38:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-allow-edit-and-resend-only-during-the-same/m-p/1411208#M56276</guid>
      <dc:creator>TL2</dc:creator>
      <dc:date>2024-04-17T20:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to allow 'edit and resend' ONLY during the same week the survey was taken?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-allow-edit-and-resend-only-during-the-same/m-p/1411233#M56280</link>
      <description>&lt;P&gt;If you want the &lt;U&gt;current week&lt;/U&gt;, then you may be out of luck. If you want something a little looser like &lt;U&gt;within 7 days&lt;/U&gt;, then that should be easy enough.&lt;/P&gt;&lt;P&gt;Place a constraint on a hidden question. When survey is first created, create a date calculation (e.g., ${form_start_7}) to be something like &lt;EM&gt;today+7 days&lt;/EM&gt;. Then, have a second hidden date question (e.g, ${date_today}) with calculationMode=always and set the default to today() so each time the survey is opened it is today's date. Then, compare the two dates in the constraint question, ensuring ${date_today} is &amp;lt;= ${form_start_7}&lt;/P&gt;&lt;P&gt;Not something I've tried to do before, but should work.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 21:03:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-allow-edit-and-resend-only-during-the-same/m-p/1411233#M56280</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2024-04-17T21:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to allow 'edit and resend' ONLY during the same week the survey was taken?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-allow-edit-and-resend-only-during-the-same/m-p/1411255#M56283</link>
      <description>&lt;P&gt;Thanks, I went with something similar but I calculate the + days based on what day of the week it is, i.e. if Mon + 7, if Tues + 6....&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 21:34:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-allow-edit-and-resend-only-during-the-same/m-p/1411255#M56283</guid>
      <dc:creator>TL2</dc:creator>
      <dc:date>2024-04-17T21:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to allow 'edit and resend' ONLY during the same week the survey was taken?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-allow-edit-and-resend-only-during-the-same/m-p/1412327#M56342</link>
      <description>&lt;P&gt;We limit certain surveys for editing by activating the inbox and only displaying the past ten days with a query expression:&amp;nbsp;created_date between CURRENT_DATE - 8 AND CURRENT_DATE+1&lt;/P&gt;&lt;P&gt;This will only display surveys collected within the last ten days (backwards 9 days plus today) so these are the only surveys available to edit via the Inbox.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;--gary&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 15:44:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-allow-edit-and-resend-only-during-the-same/m-p/1412327#M56342</guid>
      <dc:creator>GaryBowles1</dc:creator>
      <dc:date>2024-04-19T15:44:11Z</dc:date>
    </item>
  </channel>
</rss>

