stardard checkout panes shows validation errors within the pane itself.

fieldgroup panes do not follow that rule. they show the error messages on top of the page. the end results is confusing (out of order messages, etc.)

Comments

xlyz’s picture

Status: Active » Needs review
StatusFileSize
new2.07 KB

Patch attached.

pcambra’s picture

Status: Needs review » Fixed

Thanks for the heads up! I've committed it.

I changed the way that the #parents array is initialized and also the array_merge thing wasn't the best solution, you can pass the "subform" to the field_attach_submit, see the final patch here: http://drupalcode.org/project/commerce_fieldgroup_panes.git/commit/694b243

Status: Fixed » Closed (fixed)

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