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.
Hi
I have discovered this issue:
I have a filefield and some required fields, some of them conditional.
If I submit the form empty, I get the usual error message saying some fields are required.
The conditionals still work.
I upload a file, but forget to fill out some of the required fields, I get the usual error, same as above.
But now the conditional fields don't work.
Has anybody else encountered this issue?
Comment | File | Size | Author |
---|---|---|---|
#4 | 2659644-2.patch | 851 bytes | geoffray |
#3 | 2659644.patch | 1.25 KB | geoffray |
Comments
Comment #2
combert CreditAttribution: combert commentedIt sounds somewhat similar to this reported issue:
https://www.drupal.org/node/2246321
Comment #3
geoffray CreditAttribution: geoffray commentedHad the problem too. Here is my patch :
Comment #4
geoffray CreditAttribution: geoffray commentedAnd here is the js patch.
It seems the problem occured because of the webform nid becoming nid--2 after submitting the webform with an uploaded file.
Comment #5
geoffray CreditAttribution: geoffray commented