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.
With 7.x-1.0-beta2 conditional submission doesn't work, all webform items display. I had to go back to 7.x-1.0-beta1 for conditional displaying to work normally
Comment | File | Size | Author |
---|---|---|---|
#7 | webform_conditional-fix-css_id-2149483-7.patch | 649 bytes | hughworm |
Comments
Comment #1
N Faucher CreditAttribution: N Faucher commentedComment #2
jboeger CreditAttribution: jboeger commentedI am having same issue. Everything was peachy yesterday.
Today, all the fields are showing when before only the ones that met the condition. Is there a fix for this?
Comment #3
tedbowThis issue doesn't have enough information
Please read instructions here: https://www.drupal.org/node/add/project-issue/webform_conditional
Comment #4
decyphex CreditAttribution: decyphex commentedHello,
I am also experiencing this same issue. However, it is not just occurring with 7.x-1.0-beta2, it is also happening with Webform 7.x-4.0-rc6 (Just to make sure this is clear, I do not have the Webform Conditional module installed along with 7.x-4.0-rc6. I have tried both Webform 7.x-3.20 + Webform Conditional 7.x-1.0-beta2 and Webform 7.x-4.0-rc6 separately with similar issues.)
I am creating an inventory request form and it has 4 webform fields initially. One of them is a category drop-down that determines which webform fields appear after it. No matter what selection is made, generally all of the possible fields will display after the drop down, instead of what I have configured to display.
The issue has existed for quite some time. With the recent release of Webform 7.x-4.0-rc6 I was hoping it would be resolved, but it still exists. I know this isn't the Webform issues page, but the issue seems to be more related to just the conditional portion and since the two are now incorporated, I figured I would comment on the already existing issue here as a start.
Comment #5
tedbowPlease confirm you have done this from the link above:
Comment #6
decyphex CreditAttribution: decyphex commentedThe issue is resolved. Turns out I was not using conditionals in Webform 7.x-4.0-rc6 as they were intended to be used. All is well, but it is possible the issue still exists in Webform Conditional 7.x-1.0-beta2?
Comment #7
hughworm CreditAttribution: hughworm commentedIndeed it does!
Caused I think by misformed css ids of the dependent elements. Attached patch fixes it for me.