Hi all,
actually the "Select options" field has an overall description. What I would like to add is a description for every option. Something like:
--
* pizza
made with natural ingredients, best tomatos and baked in a stone oven [image]
* Coffee
yeah, you need some extra energy [image]
--

Is this possible? If yes, how?

Thank you in advance!

Comments

quicksketch’s picture

This isn't possible in Webform currently (though Drupal itself does have this kind of support). You could emulate this kind of support by making multiple select components however, each with only a single option but with the main element label displayed as "Hidden".

Tubia87’s picture

I understand but It is possible to emulate this thing also in a situation like mine, where I have to use also conditionals?

Thank you in advance!

Tubia87’s picture

Category: support » feature

Ok, so maybe this could be a feature request: It would be awesome to enriche contents and forms with description in options. For example radio buttons each one with a video in the description and a title and the label is "wich one do you prefer?" I think it's not hard to implement, maybe a new column in db and a simple text field added for each "option".

What do you think?

quicksketch’s picture

It's "easy" from a form-building perspective but difficult from a UI perspective. Considering the difficulty of making a good UI and you can often work-around the problem by using separate components, I don't plan on offering this functionality soon.

quicksketch’s picture

hass’s picture

Is this something that can go into https://drupal.org/project/options_element only? Just seen this module, but haven't tried using it yet.

quicksketch’s picture

Both Webform and Options Element would need to support it. Even if Options Element provided the UI, Webform would still need to store the settings and render the radios/checkboxes with descriptions when showing the form. There's a matching issue in the Options Element queue at #1367656: Provide description column for the keys and values columns.

danchadwick’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Closed for lack of maintainer interest, patches, and activity