Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It would be very nice to have support for the "other field size" setting in select_or_other so that it's possible to use a text field that's not 60 characters wide. Especially in Firefox since it seems very stubborn about not applying width styling to that field.
Comment | File | Size | Author |
---|---|---|---|
#1 | webform_other_size.2064035.1.patch | 1.64 KB | TwoD |
Comments
Comment #1
TwoDSomething like this perhaps?
Comment #2
quicksketchSeems like that would work. I'm averse to adding more options to the already bloated select list form, but maybe this would be worth it. Although a hassle, you can now accomplish the same select-or-other ability by using a separate textfield component that is only shown when the "Other" option is selected in a select list.
Comment #3
TwoDTrue, but that will use a secondary column for the "Other" field, right?
Comment #4
DanChadwick CreditAttribution: DanChadwick commentedSeems like a fairly esoteric use case, which could be addressed with custom theming.