Add radio buttons and text field together to theme-settings.php I want to integrate a CSS switcher into my theme, but without the Color module. So I want a radio button list, (or a select list, or dropdown, doesn't really matter), with a list of different styles, and then I also wanted a 'Custom' option, so that the user could input a hex code instead of picking a style.

I know how to create a radio list, but how can I add a 'custom' text field too? Any ideas?

And then... what would go in page.tpl.php if the user has selected 'custom'?
I think the select_or_other module is what you are looking for. it let's you create a select box or checkboxes with textfield as last option.