View Single Post
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old November 2nd, 2017, 01:14 PM
Our normal handling for this is to use an eval rule to complain if the user selects the same thing more than once, but excluding them is possible, too;
Code:
field[usrCandid1].text = "a tag expression"

field[usrCandid2].text = "a different tag expression"
if (field[usrChosen1].ischosen <> 0) then
     field[usrCandid2].text &= " & !(" & field[usrChosen1].chosen.tagids[thingid.?,"|"] & ")"
     endif
I'd just be worried about what kind of weird situations the user might run into if they changed their mind about what selections were made on these selectors, and tried to change them, and ran into situations where there's things missing because of the way it's trying to control the selections. That's the main reason we generally use eval rules to verify these, instead of controlling the list of what can be chosen from - to avoid having to worry about that.
Mathias is offline   #2 Reply With Quote