Closed (fixed)
Project:
Webform
Version:
7.x-4.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2012 at 18:24 UTC
Updated:
29 Jun 2013 at 06:00 UTC
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.