Drupal Association members fund grants that make connections all over the world.
I have an entity A that references another entity B using an entity-reference field and inline entity form. The entity-reference field is set to not be required. Entity B has a required field included in its inline entity form.
I want to leave the inline entity for for Entity B completely empty and save entity A. This should save entity A and not create an entity B, leaving the entity-reference field empty.
However, the required field on Entity B stops the form from submitting at all.
Add some code to inline_entity_form_process_form that bypasses the submit if the values returned are completely empty.