digitalDave
Member
I have 5 database join elements rendered as checkboxes.
Selection A
Selection B
Selection C
Selection D
Selection X
They all select the same data (an ID) from another table with a Where clause ordering the results.
The user is able to place a check in boxes A,B,C,D and if needed in X.
However if the user does not place a check in any boxes A,B,C,D then they shouldn't be able to check X.
The value of each element is stored in an array, so for example could look like this.
Selection A [3,8,9,15]
Selection B [9,15,12]
Selection C [3,9,15]
Selection D [12]
In this example a Selection X could be made if it resulted in any of the values 3 or 8 or 9 or 12 or 15 being inserted.
Does this make sense?
Selection A
Selection B
Selection C
Selection D
Selection X
They all select the same data (an ID) from another table with a Where clause ordering the results.
The user is able to place a check in boxes A,B,C,D and if needed in X.
However if the user does not place a check in any boxes A,B,C,D then they shouldn't be able to check X.
The value of each element is stored in an array, so for example could look like this.
Selection A [3,8,9,15]
Selection B [9,15,12]
Selection C [3,9,15]
Selection D [12]
In this example a Selection X could be made if it resulted in any of the values 3 or 8 or 9 or 12 or 15 being inserted.
Does this make sense?