You might want to check out merlyn's html 2 CGI parser column. It doesn't handle checkbox_group's ( I do have a version that does handle this somewhere, if it's helpful I'll look for it and post it) but it helps a lot with complex HTML if you are using CGI.pm to generate.