Patch will follow

Comments

amitaibu’s picture

Status: Active » Needs review
StatusFileSize
new845 bytes

Patch uses #field_parents to get a unique ID also per delta.

amitaibu’s picture

Status: Needs review » Needs work

Form is working, but submit doesn't. investigating.

amitaibu’s picture

Status: Needs work » Needs review
StatusFileSize
new2.32 KB

This one allows submitting and saving the new entity.

bendiy’s picture

Status: Needs review » Closed (duplicate)

This is a duplicate of #1835852: Multiple same-entity add/edit forms on one page results in duplicate DOM Id's
There are more problems with this approach than just $ief_id. See https://drupal.org/node/1835852#comment-6852546