I am new to Drupal and please bear with me if this question seems so easy for you.

I am using Drupal 6.20.

I am hoping to create a multi-value checkbox (multiple checkboxes with the same name on the same form ) in a form. Googled quite a bit but did not find any example.

Can any guru there give me a hint or pointer?

Thanks a lot!

All the best!

Comments

ayesh’s picture

Did you mean a contact form ? If yes, use Webform module.

If you want to add check boxes in node add form, use CCK module.

ayesh’s picture

Did you mean a contact form ? If yes, use Webform module.

If you want to add check boxes in node add form, use CCK module.

Drupalsky’s picture

Ayesh, thank you so much for chiming in.

I am using Form API to build a custom form, which has a field with multiple checkboxes. Please note all checkboxes are for the same field. I could use dropdown select for which I can find many examples, but a dropdown select is not an option in my case due to usability issue.

Thanks again!

Best.