'Reset the dependent to its default values when the form is submitted if the dependency is not triggered' option does not have effect on Field Collection items. conditional_fields_form_validate() triggers the reset of the value when condition is not met, however drupal_array_set_nested_value() fails to update the field to its default value if it is in a field collection.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gmarchev created an issue. See original summary.

gmarchev’s picture

Set default value in the field collection entity in submitted values.

BR0kEN’s picture

Status: Active » Needs review