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 seems like the 'Text for "Other..." option' textfield should be hidden unless the "Allow other option" checkbox is checked. This patches fixes this by using the D7 #states FAPI property. I added a class to the textfield because it seems like the field name (and id) could change if the options_element module is enabled.
Comment | File | Size | Author |
---|---|---|---|
webform-select-or-other-states-1.patch | 984 bytes | jlyon | |
Comments
Comment #1
quicksketchThanks! I'll give this a shot next time I'm reviewing patches.
Comment #2
quicksketchThanks! Finally committed. Changed "TRue" to "TRUE". Otherwise identical.