How can I add a CCK field that has a checkbox and a textfield in Drupal 6? so I want to have something like this:
[x] Option1 _______________ [ ] Option2 _______________ [ ] Option3 _______________ [x] Option4 _______________
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community
Just define 4 checkboxes and 4 textfields. If you use a bit of CSS you can get them to look like they're compound fields by floating left and clearing after the textfields. You might need to hook into the validate functions (using hook_form_alter) if you want these fields to be any smarter than that.