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.
When you hide the webform from displaying (via admin/structure/types/manage/webform/display) it will still display the form when
- webform (node/xxx/webform/configure) > advanced settings > Available as block = selected
- this webform block is displayed on the SAME webform (e.g. in side bar)
This problem occurred after upgrade to version 7.x-4.7
Comment | File | Size | Author |
---|---|---|---|
#2 | webform-webform_hidden-2471363-2.patch | 1.43 KB | DanChadwick |
Comments
Comment #1
DanChadwick CreditAttribution: DanChadwick commentedReproduced in latest dev.
Comment #2
DanChadwick CreditAttribution: DanChadwick commentedNot sure what version was previously used. Looking at the code, I think it's been this way for quite a while. The problem may depend upon the order of the regions. With the block in the first side bar, it is displayed, creating the content. When the node is later displayed, the rendering is skipped, but the block's content was still stored in the node.
Committed to 7.x-4.x and 8.x.
Comment #3
DanChadwick CreditAttribution: DanChadwick commented