If a previous webform save draft has text in the 'other' text field this is always shown as the default, despite a more recent save selecting another option.

To reproduce.
Create a webform
Add element Select options
Add options (e.g 'Mr', 'Mrs', 'Ms', 'Miss')
Check checkbox allowing 'other' option
Only allow a single option to be selected (multiple check box is unchecked)
Allow drafts to be saved in webform settings
Navigate to the form and select Other radio button and enter text (for example 'Dr')
Click the 'Save Draft' Button
Navigate to the form again - Default value is displayed correctly
Select another option (for example 'Mr')
Click the 'Save Draft' Button
Navigate to the form again - default is showing as 'Other - Dr'

Notes:
The default is correctly saved into the database 'webform_submmitted_data' table.
The value is shown correctly when viewing the webform results in the CMS
Above test was done with single value allowed. When multiple values are allowed deafult in the 'other' text box displays as "Array, Dr"

Comments

legolasbo’s picture

Issue summary: View changes
Status: Active » Closed (cannot reproduce)
Related issues: +#2103715: Webform save draft - default value not displaying option

I was unable to reproduce the bug with webform 4.3. It seems the issue was caused by a bug in the webform module just like #2103715: Webform save draft - default value not displaying option.

Please reopen if you are still experiencing problems with webform 4.3