Form element values are cleared for hidden components, but there should IMO an exception for default values. This should not be a problem since if the form is submitted with a defaulted hidden field its value will be ignored anyway.

CommentFileSizeAuthor
#1 webform_conditional-1417640-1.patch2.15 KBplach
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

plach’s picture

Status: Active » Needs review
FileSize
2.15 KB
plach’s picture

Sorry, my IDE fixed also some trailing whitespaces. Only the first hunk actually matters.

anthonylindsay’s picture

Issue summary: View changes

#1 works nicely and saved me a headache.