What one would think should be a fairly easy task yet I have been struggling with this for the past two days, if anyone could point me in the right direction would be a god send as I am pulling out my hair trying to figure this one out. Here is a quick loom video showing how my page functions, I will also inlclude a link to a seperate app that I setup and can share accesss too.
Basically I have a repeating group and its list size is determined by the number the user enters into the “Quantity” input. I then have a seperate input inside of my repeating group where the user can enter in the corresponding serial numbers depending on how many of said item he has.
I would like to take my “List of Texts” and filter out any duplication so that I can perform validation on these fields and display a notice that says “You have a matching serial number”, I can not perform this search on the database because the serial numbers for this item have not yet been saved to the database.
I have used the plugin RepeatingGroup Tools and am able to generate a list of all my input value’s including duplicates. I would like to filter this list to only show me texts that appear more than once. If a text does appear more then once and the input value inside my RG is contained in this list of texts. With this I could then apply the red border and some text that notifies them of a duplicate.
I feel like I am very close, I will include a demo application that you can edit, unfortunatley it does not have the plugin which generates the list as shown in my video as its a paid plugin.
Any help is greatly appreciated