Welcome Guest, Not a member yet? Register   Sign In
form validation is_unique using array
#1

I have a for that inputs a batch of data into the database. The form has one field where the barcodes for a product are inserter, seperated by comma's. Using explode I make an array out of it. 

What I want is to validate if each of the items in the array is unique in the database. Normally I would use the is_unique validator to check just one barcode. Is there a way to use is_unique for the full array?
Reply


Messages In This Thread
form validation is_unique using array - by BFlokstra - 04-17-2021, 02:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB