How to validate if a page list value already exists in another page list?
Hello Everyone,
I am trying to create an application where users can request equipment to be added to their inventory, but I also would like to check if the given user already has the equipment which he/she selected or not and in case the user already has it during submit it should throw an error.
Here is an example to put it into perspective:
The user shown in the screenshot currently owns 2 equipment and one the two is the Laptop, now if the user wants to submit this form with the Laptop being selected it should throw an error that the user has already owns the selected equipment. The number of equipment each user have is changing dynamically, they can also have an empty inventory.
Unfortunately I was not able to find a solution how to achive the desired result.
Could you please help me out please?
Thanks,
Tamas