Things have, of course, evolved now. Customer now wants an empty text field that people can, if they wish, fill out and choose as default.
So now I need code to make the radio button for that field only be selectable if it is not empty. That would be great. Failing that, since it sounds quite complicated, I would need code to check that if the radio button that corresponds to that field is checked, then that field cannot be empty.
But, now that I think about it, this won't work because if the field is empty, meaning there is no value, then I can't make that value the default because it is not in the database yet, so I don't have a key for it. Of course, I could always do some PHP magic that if the radio button that was checked does not have a key in it (the radio button values are the key for that entry in the DB) then we know they are choosing the new value, so assign it to the DB, get a key and put that into the default.
Sorry for the rambling, does that make sense? I know this is not the PHP forum, so I'm not asking for help with that bit, I'll figure it out, but I'm including it here just in case I'm being undercaffeinated and stupid.