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?
***Edited by Moderator: Pooja Gadige to add capability tag***
Hi @TamasK28, Please check the function: IsInPageList. This function verifies that whether the value that has been passed as input is in the property that is in pagelist. Return true if it finds the clipboard property in page list and false otherwise.