Posted on 2011-10-04
This will probably turn into more, but it starts as a theory and practicality question.
I am setting up a Tournament Entry Form using PHP. The person who initially fills out the form will provide standard contact information (eventually dynamic from a registration database). It is understood that this person is the first entry to the tournament.
Additionally, this person will be allowed to register up to seven additional entries to the tournament, with pertinent information, all of which is required if the entry is submitted. They will tell us how many they want to register using a drop-down menu.
Theory wise, how best should I design this so that if a table row is shown, the information is required, but if a table row is hidden, the information is no longer required, and the form will submit correctly?