Hi everyone,
I am trying to stop form values being equal to each other. My form contains about 30 different SELECT/OPTION combinations. I want none of the select fields to have the same option selected when Submit is pressed. These values (assuming none are equal) are then stored in a SQL database.
My only thought so far is to have repeated 'if' combinations checking every combination but I am sure there must be a better solution.
Thanks,
Chris.
I am trying to stop form values being equal to each other. My form contains about 30 different SELECT/OPTION combinations. I want none of the select fields to have the same option selected when Submit is pressed. These values (assuming none are equal) are then stored in a SQL database.
My only thought so far is to have repeated 'if' combinations checking every combination but I am sure there must be a better solution.
Thanks,
Chris.