I have a content type with field collection field (unlimited cardinality). Each collection has image field (required) and long text field.
How can I prepopulate node form with multiple collections? I need node creation form to have lets say 3 collection widgets (+1 blank) with already uploaded images.
How can I generate field collection widgets? I tried to manipulate with $form_state['values'] and $form_state['field'] in hook_field_attach_form - but have no effect.
Module code at Github