<?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: Constraining a time based on another time in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/constraining-a-time-based-on-another-time/m-p/1159847#M41785</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;if(string-length(${parameter_time1})&amp;gt;0,.&amp;gt;${parameter_time1},true())&lt;/P&gt;&lt;P&gt;This seems to work for me in the constraints column of parameter_time.&lt;/P&gt;&lt;P&gt;First check if parameter_time1 was provided, if it was then check that parameter_time is bigger than parameter_time1&lt;/P&gt;&lt;P&gt;Hope that helps - i think you had some quotes in there that wasnt necessary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Mar 2022 13:15:31 GMT</pubDate>
    <dc:creator>DeonLengton</dc:creator>
    <dc:date>2022-03-31T13:15:31Z</dc:date>
    <item>
      <title>Constraining a time based on another time</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraining-a-time-based-on-another-time/m-p/1159011#M41724</link>
      <description>&lt;P&gt;Hello, I am trying to constrain a field called 'sampletime' based on another time field, 'parameter_time1'. Basically I would like the 'sampletime' field to be later than the 'parameter_time1' field, but only if there is a value (a time entry in 'parameter_time1'). If there is no entry, then the constraint shouldn't apply. Here is what I have in the constraint field for 'sampletime':&lt;/P&gt;&lt;P&gt;&amp;nbsp;if(string-length(${parameter_time1}) &amp;gt; 0, '.&amp;gt;${parameter_time1}')&lt;/P&gt;&lt;P&gt;But the constraint of&amp;nbsp;.&amp;gt;${parameter_time1} is applied even when parameter_time1 is blank. Any ideas on what I'm doing wrong?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 18:27:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraining-a-time-based-on-another-time/m-p/1159011#M41724</guid>
      <dc:creator>JeffreyFitzgibbons</dc:creator>
      <dc:date>2022-03-29T18:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Constraining a time based on another time</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraining-a-time-based-on-another-time/m-p/1159847#M41785</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;if(string-length(${parameter_time1})&amp;gt;0,.&amp;gt;${parameter_time1},true())&lt;/P&gt;&lt;P&gt;This seems to work for me in the constraints column of parameter_time.&lt;/P&gt;&lt;P&gt;First check if parameter_time1 was provided, if it was then check that parameter_time is bigger than parameter_time1&lt;/P&gt;&lt;P&gt;Hope that helps - i think you had some quotes in there that wasnt necessary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 13:15:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraining-a-time-based-on-another-time/m-p/1159847#M41785</guid>
      <dc:creator>DeonLengton</dc:creator>
      <dc:date>2022-03-31T13:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Constraining a time based on another time</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/constraining-a-time-based-on-another-time/m-p/1161362#M41888</link>
      <description>&lt;P&gt;This worked, thank you. I think I was staring at it for too long &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 20:27:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/constraining-a-time-based-on-another-time/m-p/1161362#M41888</guid>
      <dc:creator>JeffreyFitzgibbons</dc:creator>
      <dc:date>2022-04-05T20:27:47Z</dc:date>
    </item>
  </channel>
</rss>

