I need to create a field with several options available as radio buttons, one of which is an "other" option. If "other" is selected, the user must fill out a text field describing that option. Is there an existing way to do this?

Thanks!

Comments

yched’s picture

Nope, CCK doesn't offer this out of the box, you'll have to add your own validation steps in a custom module, either through hook_nodeapi('validate'), or by adding a FAPI #element_validate callback to the right form element.