I've installed/enabled the module but don't find any evidence of it anywhere.
How do I have a select/other widget to show on a field?
Using:
Drupal 7.0
Select (or other) 7.x-2.0
Thanks
I've installed/enabled the module but don't find any evidence of it anywhere.
How do I have a select/other widget to show on a field?
Using:
Drupal 7.0
Select (or other) 7.x-2.0
Thanks
Comments
Comment #1
danielb commentedThere is inbuilt support for when you're creating a field on entities, such as nodes. It enhances the Select element in Webform. And if you're making a custom form in a module you can use it that way.
Comment #2
steveray commentedI've tried adding a new field to an existing content type, tried creating an all-new content type and added fields to that, checked for permissions problems, etc. The available widget types are the same "Select list"/"checkboxes" that I had before. I never see an "Other" option. I even tried adding "Other" as an allowed value, but that doesn't do it.
I don't see any difference between before and after installing the module.
Is there a configuration step I've missed? Do I need to write some code to make this work?
Comment #3
danielb commentedIt has to be a text, integer, or float field. Which one have you got?
Comment #4
steveray commentedI had "List(text)" which seemed like a logical choice...
I added a new field of "Text" and found the "Select (or other)" widget options.
Thanks
Steve
Comment #5
danielb commentedHmm you're right I never noticed that.
Here's some info on how that got put in: http://groups.drupal.org/node/17757#comment-61250
I'd like to switch it over, but how is that going to affect people upgrading their existing sites?
Comment #6
danielb commentedMaybe I can add it in to the list() ones, in addition to the ones that are there, but then somehow hide the ones that are there from being selected for new fields.
Comment #7
cdvh commentedI'm having a similar issue with the 6.x-2.7 version on a production D 6 site - can't find any widgets or other signs of the module with a Webform form with Select form components. The sample test form does work, however.
Thanks for any tips, this module is just what I was looking for on a site enhancement.
Comment #8
danielb commentedI believe in webform you can turn on the widget by choosing a select list and checking the "other..." option when you configure it.
Comment #9
cdvh commentedUnfortunately, there is no "other..." option in my configuration screens for Webform.
Here's a test sequence and content with my D6 installation, extending an existing Webform.
- In the Webform, go to Edit, then Form Components
- In the list of form components, add a new field "TestSelect", type "Select". Click Add.
- Now in the Edit component TestSelect (select), have many possibilities to configure. Label, Default Value, Options values, Description. Checkboxes for "Multiple" [multiple values allowed], "Listbox" [select component is a listbox rather than radio buttons or checkboxes], "E-mail a submission copy".
No "Other" checkbox option or similar idea.
- Within the Advanced settings group at the end, choices for Field Key, Mandatory, Include in e-mails, Parent Fieldset, Weight.
- Submit button at the bottom.
Other suggestions of where to look, or how to help narrow this issue down?
Comment #10
danielb commentedWhat version of webform?
Comment #11
cdvh commentedWebform version was down-rev 6.x-2.9. Updated to the latest Webform 6.x-3.11 (May 2011) and everything is working as expected with this module. Thanks Daniel, apologies for acting like a nOOb!
Comment #12
danielb commentedI've switched the field api integration to use list_float, list_integer, and list_text. It doesn't seem to have an affect on existing fields.
Comment #13
webadpro commentedAlthough in the field edit, it does change something because I see two available options. If you could fix that.
Comment #14
danielb commentedI can't configure a new widget since making this change :/
Comment #15
danielb commentedYeah it doesn't work with List* field types. Had to put it back the way it was. I've added a note in the readme file to steer people in the right direction.
Comment #16
danielb commented