In my Gift Ideas notebook I’m storing the following:
- Tagged
personare the persons I’m planning to give gifts to - Tagged
giftare the gifts to be given, they have two fields:-
to-gift: a list of possiblepersongift receivers -
already-gifted: a list ofpersons who already got this gift
-
On each gift I’m displaying two <$select> widgets, one for each list to-gift and already-gifted, for example:
<$select field="to-gift" multiple size="10">
<$list filter='[tag[person]]'>
<option><$view field='title'/></option>
</$list>
</$select>
From each of these <$select> widgets I want to exclude persons found in the other list. If Person A is in the already-gifted list, they shouldn’t appear in the available to-gift options and vice versa.
Something like [tag[person] -[already-gifted]] but correct 