Hey all,
I've been banging my head off a brick-wall for the last hour or so; I'm running through some PHP code to create a custom HTML form (depending on records in database). The form itself acts as a sign-up for sessions / classes. Certain sessions require all classes to be taken whereas other sessions have classes where the user can pick or choose.
On form submission, I was having difficulties processing the data. In the instance where sessions required all classes to be taken, I was showing the checkboxes but with both DISABLED and CHECKED properties. I've now realised that even with CHECKED being supplied, the checkbox is ignored (I'm guessing due to DISABLED)
Anyone know a way around this? I obviously don't want to have the checkbox user-alterable as... well, some users will uncheck 'em! Hope someone has expertise in this area
Cheers,
andy