Spinning this off from #711300-3: Distinguish between the different types of webform-select when adding #prefix to form elements and #4 in that issue:
Currently (in 2.7 at least) radios are a webform select which is not a listbox and doesn't allow multiple values; checkboxes are a webform select which is not a listbox and does allow multiple values; and a select is a webform select that is a listbox .. this one can, of course, cope with a single value constraint or allow multiple values. Obvious, eh? ;)
having "select" as a single option is confusing
It seems to me that what checkboxes, radios and a select have in common is options, so I propose that the webform component be called "options".
On the component edit/add screen at the moment near the bottom we have first the checkbox for "Multiple" and then the one for "Listbox". I'd suggest changing these to a radios element, perhaps something like this:
How should the options be presented?
- Radio buttons (i.e. only one can be selected)
- Checkboxes (i.e. multiple options can be selected)
- Dropdown which allows only one value to be selected
- Dropdown which allows multiple values to be selected
Not quite sure if Dropdown, Listbox or Select is the best terminology. Maybe use all 3 :P
While we are at it I'd reorder the elements on this screen into a more logical order:
1. Label
2. How should the options be presented?
3. Options
4. Default value
then the rest.
This related issue will also help reduce confusion: #264181: Creating a single checkbox.
Comments
Comment #1
quicksketchThis still should be worth looking into, though I don't have any particular hurry to make these changes. Already the select component has been revamped quite a bit since this issue was opened. It's now called "Select options" in the interface, which is slightly better than "Select".
Comment #2
MohammadMoussa-Lebanon CreditAttribution: MohammadMoussa-Lebanon commentedplease help!!!
im creating a web form for resumes , haw can i make the user click on a link like USA or any other country , then all job seekers resume's which country field is USA , retrieved.
i mean retreive data according to a certain component or field, please help
Comment #3
quicksketch@che_viva: Your request is being answered over here: #948770: retreive data.
Comment #4
DanChadwick CreditAttribution: DanChadwick commentedThere won't be further feature development in the X.x-3.x branches.