Duplication check

Hello Mendix friends: I have created a dropdown menu with values : 1, 2 and 3. Each time a user selects one number, and clicks "save" button, the information will be stored in another page. My purpose is to allow the user to select "ONLY" one number from 1 2 and 3 , so he can not choose number 1 again after he selected 1 from the dropdown menu and saved the selection.  
2 answers


Take a look at the XPath constraint (Constrained by) functionality for reference selectors. With it you can constraint the possible options in the dropdown. You can find it under seletable objects if you select Xpath.

For example if you have Classes and Students, and you would only like the student to select classes which he has not selected already:

Hope this helps,



You can make the source for the dropdown menu based on a microflow in which you retrieve the list of values which hasn't been added yet.