I got this request yesterday from one of my co-workers.
A form author has 10 items. Let’s say it’s “Ice Cream flavors”…chocolate, strawberry, vanilla,… He wants the form recipients to rank them from most to least favorite. But, he wants to prevent the user from giving two flavors the same rank.
There can’t be two most favorites… unless you’re talking about your children… or dogs in my case.
I knew that this could be done with some pretty heavy script to check all of the fields and build an array of values, compare them, and a bunch of other stuff that I didn’t exactly feel like writing.