Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
Howdy all!
Just wondering if anyone has come up with a good script/procedure to exclude previously chosen selections from subsequent choosers? For ex. - I have three choosers expressions: usrCandid1, usrCandid2, usrCandid3. All three give the choice of component.X. If usrChosen1 = A, then usrCandid2 and usrCandid3 should include !thingid.A If usrChosen2 then = D, usrCandid3 should then include !thingid.D as well. Does that make sense? TC |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
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 |
#2 |
|
|