In conditional_fields.module, conditional_fields_dependent_validate() function.
$form_state_addition is always added to $form_state['conditional_fields_untriggered_dependents'][].
To me this seems incorrect, it should only be added to the conditional_fields_untriggered_dependents array IF the dependency is untriggered as per the attached patch.
This issue occurred for me when conditionally requiring an Integer field and filling it with text. number_field_widget_validate() Was correctly setting a form error. Conditional fields removed the error and failed to re-set it back into form errors against the field.
Comments
Comment #2
merlin06 CreditAttribution: merlin06 for Australian Competition and Consumer Commission (ACCC) commentedComment #4
merlin06 CreditAttribution: merlin06 for Australian Competition and Consumer Commission (ACCC) commented