Hi experts ! As Christmas is coming, my ex-classmates are coming to gather for a gift exchange next week. But as all of us stay at different towns, we are unable to a meet up prior to the gift exchange for our balloting - who shld buys whose gift. Hence I'm here wondering whether is there any codes that can be implemented to make our balloting a simple one via online.
The requirement of the balloting is that:
1) One cannot pick their own name (Couldn't possible buy their own gift for themselves. hehe)
2) The gift exchange name can only be picked once.
I'm thinking of logically on it shld/can works.
There should be already prefixed names as we know who are attending. E.g 6 persons - Andy, Chris, Cindy, Nelly, John, Alice.
Upon opening the webpage, the person is to choose their name from the prefixed names. This is to guarantee the person cannot pick their own names for the gift exchange. Codes might read like gift exchange name cannot be equal to the selected prefixed name.
2nd, the gift exchange name can only be picked once. E.g Alex cannot be picked by both Cindy & John. In another words, no person should be left out in the gift exchange.
Pls recommend me on I can go about doing the codes, of cause the balloting should be randomly assigned by the system. I cannot hardcode e.g Alex to pick Alice. Alice to pick Nelly, Nelly to pick Alex etc.
Will it turned out too complex? haha, pls advise me - an I.T idiot. Thanks all Advance Merry Christmas to all
Bookmarks