<?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: Repeat Duplicate Preventer in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1236762#M46298</link>
    <description>&lt;P&gt;first time here and I apologise if this has already been treated somewhere else. My ask is, how do I apply this to non-repeats? just a list with options on my form where I do not want an option to be picked more than once? thank you&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2022 12:41:01 GMT</pubDate>
    <dc:creator>EdmundEkanem1</dc:creator>
    <dc:date>2022-12-01T12:41:01Z</dc:date>
    <item>
      <title>Repeat Duplicate Preventer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1155978#M41438</link>
      <description>&lt;P&gt;First, a little background. I have a workflow that involves going out and servicing a series of assets on a weekly basis. Each asset has a unique barcode/ID that the user scans or manually enters into Survey123, along with a series of other questions. Upon reviewing the data for reporting I noticed a hair pulling amount of errors, one of which was people entering data for a particular asset more than once. Apparently my techs don't like scanning barcodes and prefer to just enter things manually.&lt;/P&gt;&lt;P&gt;At that point I decided I would just design a better form that made it nearly impossible for my users to submit erroneous records.&lt;/P&gt;&lt;P&gt;Enter the duplicate checker. I admittedly do not have the skills to come up with something like this from scratch, so naturally I pilfered it from another Survey123 user after some GoogleFu. From my understanding, I'm basically using a join in the calculation field to populate a list of barcodes/IDs. Then, I have an expression in the constraint field to check and make sure each additional repeat (i.e. Barcode/ID) does not already exist in the join list.&lt;/P&gt;&lt;P&gt;Here is the constraint expression:&lt;/P&gt;&lt;P&gt;not(contains(substr(${Tubes_Serviced}, 0, string-length(${Tubes_Serviced}) - 3), ${Barcode}))&lt;/P&gt;&lt;P&gt;The issue I'm experiencing now is that if the user enters a duplicate and somehow navigates backwards in the repeat section before immediately deleting it, they get locked in place. The duplicate checker kicks in triggers off the currently displayed repeat, which prevents them from navigating forward, unless they delete the current record.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm wondering if there is a way to modify this expression to prevent this lockout that happens when navigating to/from duplicate repeat records?&lt;/P&gt;&lt;P&gt;Thanks for reading!&lt;/P&gt;&lt;P&gt;-Dusty&lt;/P&gt;&lt;P&gt;P.S. I've attached my xlsx form if it helps getting the whole picture.&lt;/P&gt;&lt;P&gt;P.S.S. I've also learned that it seems no matter what you do, errors will find a way.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 06:36:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1155978#M41438</guid>
      <dc:creator>DustyJordan</dc:creator>
      <dc:date>2022-03-22T06:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Duplicate Preventer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1156007#M41445</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/93509"&gt;@DustyJordan&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;What you are seeing sounds as though it would be expected, as when you navigate backwards you are now re-evaluating those values in the previous repeat, meaning the answers in them may now not be valid as the string contains the value you are trying to stop being entered.&lt;/P&gt;&lt;P&gt;With the 3.14 release we introduced calculationModes, have you tried this new parameter out:&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepopulateanswers.htm#ESRI_SECTION1_FC295EA0A9354DCFA970B1D0B30D4DF4" target="_blank"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepopulateanswers.htm#ESRI_SECTION1_FC295EA0A9354DCFA970B1D0B30D4DF4&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/survey123/announcements/whats-new-in-arcgis-survey123-february-2022/" target="_blank"&gt;https://www.esri.com/arcgis-blog/products/survey123/announcements/whats-new-in-arcgis-survey123-february-2022/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;By using one of these modes and combing with the position() function, you should be able to count the repeat record you are on, and the position, compare them, and work out of the calculation should be run again. May need some trial and error, but should be possible to get it working the way you want.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 09:04:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1156007#M41445</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-03-22T09:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Duplicate Preventer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1156106#M41457</link>
      <description>&lt;P&gt;It looks like you are using my trick.&amp;nbsp; It broke on me also.&amp;nbsp; Took about 4 hours but I got it fixed using once() around the join.&amp;nbsp; Join seems to be a bit funky now and I am working on it with Phil here&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1155993#M41440" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-questions/once-join-work-differently-on-the-first-repeat/m-p/1155993#M41440&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I tried to change your form but then I would have to use a barcode.&amp;nbsp; Hopefully you can follow this.&amp;nbsp; The pain was 2 in a row was not caught at first.&amp;nbsp; Test 2 in a row but also a later dup.&lt;/P&gt;&lt;P&gt;On line 56 add a once - once(join(",",${Barcode}))&lt;/P&gt;&lt;P&gt;Under (must be under) the line with the join add 2 temp fields.&amp;nbsp; One a calc of 1 and one that counts this field. Like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougBrowning_0-1647959149173.png" style="width: 748px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/36945iFE261556B0C24F61/image-dimensions/748x86?v=v2" width="748" height="86" role="button" title="DougBrowning_0-1647959149173.png" alt="DougBrowning_0-1647959149173.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then change your constraint to Species list = barcode and AllPlants = TubesServiced&lt;/P&gt;&lt;P&gt;if(${TempCount}=0, 1,${SpeciesList}='' or not(contains(${AllPlantsCheck}+",",${SpeciesList}+",")))&lt;/P&gt;&lt;P&gt;Note not sure if you need the commas part but we had issues where ABCD was found as a dup of ABCD3.&lt;/P&gt;&lt;P&gt;I hope that makes sense it was not easy.&lt;/P&gt;&lt;P&gt;Your other option is javascript.&amp;nbsp; Look for my post with the code.&amp;nbsp; Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 14:31:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1156106#M41457</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-03-22T14:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Duplicate Preventer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1156488#M41477</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous User&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for responding!&lt;/P&gt;&lt;P&gt;Doug- I have no doubt you're the one I snagged this method from. Your posts/comments have come up in a lot of my searches for Survey123 solutions over the past few years, and they have been incredibly helpful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering if some kind of update had broken this constraint expression, as I recall doing a lot of testing when I implemented it and don't recall having this issue. I'm going to try your fix and hopefully I can get it working again. I'll let you know if I run into any problems.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Phil- Thanks for linking that information on calculationModes! I'm going to try Doug's fix of my existing constraint expression first, but if I can't get that to work I'll take a look into calculationModes. I'm always interested in learning a new trick/function in Survey123.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 01:00:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1156488#M41477</guid>
      <dc:creator>DustyJordan</dc:creator>
      <dc:date>2022-03-23T01:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Duplicate Preventer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1156655#M41497</link>
      <description>&lt;P&gt;Yes 3.14 broke my trick.&amp;nbsp; It was the 2 in row where it really got tripped up.&amp;nbsp; The fix listed is working for me but it took a lot of hours to get it.&amp;nbsp; &amp;nbsp;I did try all the calc modes and it did not work.&amp;nbsp; I may not have tried every combination but a lot of them - took close to 4 hours to get it!&amp;nbsp; Hope it works for you.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 14:14:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1156655#M41497</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-03-23T14:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Duplicate Preventer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1158245#M41647</link>
      <description>&lt;P&gt;Hey Doug,&lt;/P&gt;&lt;P&gt;I just got done implementing your fix just as you instructed, and it worked like a charm. I've done some testing and it triggers off consecutive and non-consecutive duplicates, and allows paging forward/backward through repeats when there are no duplicates detected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for sharing this fix!&lt;/P&gt;&lt;P&gt;I said it before, but I'll say it again, you (and this forum in general) have been a great help to me over the past few years as I've learned and continued to build upon my Survey123/XLS skills. The first forms I created are a far cry from the most recent ones I've built.&lt;/P&gt;&lt;P&gt;So thank you for that, it has been greatly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Dusty&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 03:46:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1158245#M41647</guid>
      <dc:creator>DustyJordan</dc:creator>
      <dc:date>2022-03-28T03:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Duplicate Preventer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1225364#M45570</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp; Would you mind taking a look at my form? When I select my first grid structure in my repeat, It is notifying that I have already selected it. I know you mentioned you had this problem as well but I am struggling to solve it. The main xls form is the CopyCoral Nursery Monitoring Form. Thanks in advance. You have been solving so many of my issues recently!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 14:05:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1225364#M45570</guid>
      <dc:creator>NatalieSlayden</dc:creator>
      <dc:date>2022-10-26T14:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Duplicate Preventer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1225411#M45575</link>
      <description>&lt;P&gt;All I had to do was change the calc for line 61.&amp;nbsp; It should be a count not a join.&amp;nbsp; &amp;nbsp;once(count(${TempCheck}))&lt;/P&gt;&lt;P&gt;Try that it works for me.&amp;nbsp; Again this is weird due to the new 123 treating the first repeat different than the rest.&amp;nbsp; I reported this but they do not think it is a bug.&amp;nbsp; Sure seems like one to me.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 20:32:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1225411#M45575</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-10-25T20:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Duplicate Preventer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1225635#M45599</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp;That solved my issue perfectly! Really appreciate it!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 14:05:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1225635#M45599</guid>
      <dc:creator>NatalieSlayden</dc:creator>
      <dc:date>2022-10-26T14:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Duplicate Preventer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1228045#M45813</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp; So that did work but upon testing I noticed in my feature service that my repeat is now creating a 1st blank entry before they add the first repeat So it will be blank entry (see image), then Grid B1 (1st repeat), B2 (+ repeat), B3 &amp;amp; send. Any idea what could be goin on here? Thanks again!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NatalieSlayden_0-1667415880381.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55120i9EDBD266DC32CC51/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NatalieSlayden_0-1667415880381.png" alt="NatalieSlayden_0-1667415880381.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 19:05:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1228045#M45813</guid>
      <dc:creator>NatalieSlayden</dc:creator>
      <dc:date>2022-11-02T19:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Duplicate Preventer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1228064#M45816</link>
      <description>&lt;P&gt;I have seen it creating blank records at times.&amp;nbsp; Mostly it was using hidden and I think the appearance of minimal or some combo.&amp;nbsp; Its been so long I am forgetting what we tracked it down to.&amp;nbsp; We never did get rid of them though.&amp;nbsp; I do not think it is the dups code I think it is something else.&amp;nbsp; Mess with minimal so that you see a + sign vs it auto loading the first record and see if that does it.&amp;nbsp; If you are using the esri visible try a change to relevant.&lt;/P&gt;&lt;P&gt;Hope that works&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 19:58:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1228064#M45816</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-11-02T19:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Duplicate Preventer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1229589#M45924</link>
      <description>&lt;P&gt;I am going to give some things a try. I think you are totally right tho, not necessarily the dup code. Looks like a bug that has been around for awhile after further research. Thanks as always! Your responses are always so helpful!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 17:11:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1229589#M45924</guid>
      <dc:creator>NatalieSlayden</dc:creator>
      <dc:date>2022-11-08T17:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Duplicate Preventer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1233906#M46169</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;, Did you ever have issues with someone entering ABCD3 first and then when they went to add ABCD it flagged as a duplicate? The commas are necessary like you said because if they enter it in the correct order of ABCD and then ABCD3, then it does not flag a duplicate but if it is the other way around, it flags. Just wanted to see if you had this occur with you. I have been playing with the code, but have not found a solution yet&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 20:15:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1233906#M46169</guid>
      <dc:creator>NatalieSlayden</dc:creator>
      <dc:date>2022-11-21T20:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Duplicate Preventer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1233921#M46170</link>
      <description>&lt;P&gt;You get around this by adding a comma on the search string as well.&amp;nbsp; Maybe the latest one I did not post.&amp;nbsp; The latest version did change it a bit.&lt;/P&gt;&lt;P&gt;Do you have it like this&amp;nbsp;&amp;nbsp;not(contains(${AllPlantsCheck}+",",&lt;STRONG&gt;${Species}+","))&lt;/STRONG&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 21:06:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1233921#M46170</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-11-21T21:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Duplicate Preventer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1234081#M46178</link>
      <description>&lt;P&gt;Yes, That is exactly what I have. It works great unless they enter them in out of order. It is throwing me for a loop.&lt;/P&gt;&lt;P&gt;if(${TempCount}=0, 1,${structurecode}='' or not(contains(${AllGridCheck}+",",&lt;STRONG&gt;${structurecode}+","))&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 13:54:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1234081#M46178</guid>
      <dc:creator>NatalieSlayden</dc:creator>
      <dc:date>2022-11-22T13:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Duplicate Preventer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1234110#M46181</link>
      <description>&lt;P&gt;I retested mine and it works before and after.&amp;nbsp; Maybe a different 123 version or something else is up.&amp;nbsp; If you cannot post the form you can dm me it instead.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougBrowning_0-1669129266284.png" style="width: 567px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/56566i02B66904BFC76496/image-dimensions/567x129?v=v2" width="567" height="129" role="button" title="DougBrowning_0-1669129266284.png" alt="DougBrowning_0-1669129266284.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 15:02:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1234110#M46181</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-11-22T15:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Duplicate Preventer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1234191#M46186</link>
      <description>&lt;P&gt;I DMed you! Thanks so much as always!&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 17:35:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1234191#M46186</guid>
      <dc:creator>NatalieSlayden</dc:creator>
      <dc:date>2022-11-22T17:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Duplicate Preventer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1236762#M46298</link>
      <description>&lt;P&gt;first time here and I apologise if this has already been treated somewhere else. My ask is, how do I apply this to non-repeats? just a list with options on my form where I do not want an option to be picked more than once? thank you&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 12:41:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1236762#M46298</guid>
      <dc:creator>EdmundEkanem1</dc:creator>
      <dc:date>2022-12-01T12:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Duplicate Preventer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1236797#M46299</link>
      <description>&lt;P&gt;I am not sure what you mean.&amp;nbsp; My guess is you have a set of select one questions that all use the same list?&lt;/P&gt;&lt;P&gt;Brute force way would be to check at each question in the constraint&lt;/P&gt;&lt;P&gt;Q1 -&amp;gt; . != Q2 and . != Q3 and . != Q4&lt;/P&gt;&lt;P&gt;Q2 -&amp;gt; . != Q1 and . != Q3 and . != Q4&lt;/P&gt;&lt;P&gt;Q3 -&amp;gt; . != Q1 and . != Q2 and . != Q4&lt;/P&gt;&lt;P&gt;Q4 -&amp;gt; . != Q1 and . != Q2 and . != Q3&lt;/P&gt;&lt;P&gt;You could also try to making a list of all the answers and checking that.&amp;nbsp; But my fear is that it will add the current question value as you pick it and then the check fails on itself.&lt;/P&gt;&lt;P&gt;QList -&amp;gt; Q1 + " " +&amp;nbsp;Q2 + " " +&amp;nbsp;Q3 + " " +&amp;nbsp;Q4&lt;/P&gt;&lt;P&gt;Q1 -&amp;gt; not(contains(QList, Q1))&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 14:45:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-duplicate-preventer/m-p/1236797#M46299</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-12-01T14:45:40Z</dc:date>
    </item>
  </channel>
</rss>

