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.
I am using conditional fields together with Inline Form Errors on the user register form. IFE provides the ability to display form error messages inline with the corresponding field and disable the actual message being displayed by the system. Disabling the actual message does not work. All form errors are being displayed twice on the user register form. This form has conditional fields on it. Deleting these settings fixes the issue.
What is causing this incompatibility?
Comment | File | Size | Author |
---|---|---|---|
#2 | conditional_fields-inline_form_errors-compatibility-2234499-D7.patch | 959 bytes | richard.thomas |
|
Comments
Comment #1
Lukas von BlarerComment #2
richard.thomas CreditAttribution: richard.thomas commentedI've run into this problem as well, seems to be due to the order that the validate functions from IFE and conditional_fields run. IFE needs to be run afterwards to suppress the error messages, but due to the way they set it on forms there is a conflict. This patch adds some conditional logic to shift the IFE validation function after the conditional_fields one.
Comment #3
richard.thomas CreditAttribution: richard.thomas commented