3

I am working on an edit form of a content type, which contains several related inline_entity_form, let's say ief1 and ief2. When I fill and submit ief1 and come to ief2, I need to access the input on ief1 to pre-populate some fields of ief2.

I have used hook_inline_entity_form_entity_form_alter() and it return delta indexes of the submitted items of ief1.

How can I access the data I have entered to ief1, before the whole form submission?

  • Hey @kiamlaluno thanks for the edit. – Naser Nikzad Oct 15 at 9:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.