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?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Lukas von Blarer’s picture

Title: Incompatibility with IFE » Incompatibility with Inline Form Errors
Issue summary: View changes
richard.thomas’s picture

I'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.

richard.thomas’s picture

Status: Active » Needs review