I want to limit the option of products to be order if the product has already been selected in the current order.
What I mean is the order is not saved but if the customer already ordered apples, apples shouldnt be available. I have tried Validif expresion using select but since the order is not saved yet, the select expresion does not work.
This formula returns a list of values. It includes all values in the Name column of the Equipment table that aren’t the equipment for some other row in the Request table. Putting this formula in the valid_if constraint limits the user’s choice to be in that list of values.