When using inline entity form in combination with conditional fields, inline entities are not saving when form validation errors occur in untriggered conditional fields. Field collection has a similar issue http://drupal.org/node/1549364#comment-6029654



Members fund testing for the Drupal project. Drupal Association Learn more


TimLeytens’s picture

Status: Active » Needs review
1.12 KB

Attached patch compares form_get_errors with $form_state['conditional_fields_untriggered_dependents'] errors

SocialNicheGuru’s picture

this no longer applies

andrewbelcher’s picture

Here is the patch (basically) re-rolled for HEAD.

rrbambrey’s picture

Nice patch, worked well for me with inline Line Item forms in an order. Thanks!

bojanz’s picture

Title: Inline entity form (single value) not saving when conditional fields has validation errors in untriggered elements » Form not saving when conditional fields have validation errors in untriggered elements
Issue summary: View changes
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.