Add textfield as option for checkbox 'other' entry I am creating a form using the Drupal 6 Form API and I have a set of checkboxes. One of the options is "Other."

Is there a way to have one of these options be a fillable field? How would I define that in the options array.

Thinking something like:

[] Option A
[] Option B
[] Other ___________


Any ideas?
The easiest way is to add the Select or Other module.

It lets you define these using the Form API, CCK, Webform and some others.