I have a validation/logic question.
I have a form that gives multiple options and checkboxes to select them:
Football [ ]
Badminton [ ]
Rugby [ ]
Tennis [ ]
Golf [ ]
Athletics [ ]
Now, the issue is that a person can enter multiple events which could be
Football AND Tennis BUT NOT Golf as it would clash with the Tennis!
Badminton AND golf BUT NOT Athletics,
some organisers can put Tennis AND golf on at the same day and allow entry to both.
So I need a reliable way for an organiser to be able to specify which sports are allowed within a multiple entry array.
You could use this for the client: http://jsfiddle.net/8MKxh/1/
For the admin I would just let them check all sports that take place at the same time, store that in the db, and use as the variable
sametime in the script above
oooh me likey!
Like the way of thinking Remon, thanks as always!