Does Webform support these? Seems odd it wouldn't, considering it has support for other form elements...

Comments

quicksketch’s picture

Choose a 'select' option. It renders checkboxes and radios by default, and you can make it a selectlist by checking the appropriate box in the field settings.

Eep²’s picture

Thanks. Now, how would I implement something like this form with Webform? As you can see, it's very detailed and, ideally, I'd like to get all the info into Drupal nodes, but as a reformatted list would be sufficient for now.

quicksketch’s picture

Wow, now that's intense!

If you want the end result to be a node (which I highly suggest if you want these to be searchable, or available in any public format), you should really implement this as a CCK type. Download the CCK modules and then insert all the field items you would need.

Eitherway, you'll need to actually theme the form you're creating to get it to not have such a generic format (or maybe that's okay...).

To theme a CCK form: http://drupal.org/node/98253

I think what you're wanting is outside of the scope of webform. Hope this helps.

Eep²’s picture

Yea, I'm trying to do it with CCK (and Views) but it's not going too well (see this thread). I'm even trying various taxonomy/category-related modules, but it's all such a hassle to even get a basic categorization system akin to what MediaWiki can do. Unfortunately, MediaWiki has its own issues with user-interface and, of course, lack of decent tabling capabilities (i.e. database-like queries). Drupal is capable of mimicking an actual database but it takes a lot of work to get it to. :/

Anyway, thanks for your help. I'll continue looking...

o_bridge’s picture

Just for those who might be searching like me, the way to get a 'select' field to show up as a checkbox is to check the Multiple checkbox.

And if you want your checkbox to have a value but no label, simply put in a value in the options field without the readable part. For example:

yes|

The trailing '|' is necessary.

quicksketch’s picture

Title: Checkbox and radio button? » Where are checkboxes and radio buttons?
Status: Active » Closed (fixed)
amaltemara’s picture

Thanks! I was looking for the checkbox...

rahulm’s picture

i tried what u all suggested but could not get multiple checkbox....... and even if i add single checkbox in a form and if i dont make it mandetory it is not their for editing plz help

m4rinos’s picture

in addition to #5, I found you have to select the Customize keys (Advanced) option and set the key to "yes" (or any key you prefer) and the value to whatever you want the user to see such as "Yes, I agree"

andrewm63au’s picture

How do you set t ocheckbox rather than radio button?

hendrohwibowo’s picture

Version: 5.x-1.x-dev » 6.x-3.17

still dont know how to checboxes on my drupal :(