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

danielb’s picture

There 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.

steveray’s picture

I'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?

danielb’s picture

It has to be a text, integer, or float field. Which one have you got?

steveray’s picture

I 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

danielb’s picture

Hmm 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?

danielb’s picture

Maybe 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.

cdvh’s picture

I'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.

danielb’s picture

I believe in webform you can turn on the widget by choosing a select list and checking the "other..." option when you configure it.

cdvh’s picture

Unfortunately, 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?

danielb’s picture

What version of webform?

cdvh’s picture

Webform 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!

danielb’s picture

Status: Active » Fixed

I'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.

webadpro’s picture

Although in the field edit, it does change something because I see two available options. If you could fix that.

danielb’s picture

Status: Fixed » Active

I can't configure a new widget since making this change :/

danielb’s picture

Status: Active » Fixed

Yeah 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.

danielb’s picture

Category: support » feature

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit a2f877f on 7.x-2.x, 7.x-3.x, 8.x-3.x by danielb:
    Issue #1184326 by steveray, danielb: Can't find the widget.
    
    
  • Commit 057b643 on 7.x-2.x, 7.x-3.x, 8.x-3.x by danielb:
    Reverting changes in Issue #1184326.