Inline Entity Form – start with first new node open
My install is using Inline Entity Forms and I would like it so that when a user visits the create node page, the inline entity form starts already visible but with all fields empty and ready to be...
View ArticleAdd referenced entity if none was found using Inline Entity Form autocomplete
I tried to look for a solution and wasn’t successful: Is there any module or other solution for Drupal 7, that would extend Inline Entity Form to offer creation of new entity if none was found using...
View ArticleInline Entity Form – IEF – Hook Form Alter – Ordering
I’ve got a module that I’m developing (I’m admittedly new to module development) – where I’m appending a date to the IEF fields displayed. It looks like this so far. function...
View ArticleNew product variation form for a new user
I want to display a new product variation form for an existing product to a new user where that user can create a new product variation for an existing product and the user will not be able to see the...
View ArticleAbility to create forms for each node in Drupal 7
I am creating articles in which I want to ask, on each article, that whether the it was helpful to read or not. The user would have two option boxes:- © Yes © No One of these will be selected and the...
View ArticleInline Entity Form – How to change label for the EDIT button and REMOVE button
I try to modify the ‘Edit’ and ‘Remove’ label on the buttons displayed in the IEF table. I can modify the ‘Add new node’ buttons with the code bellow function MY_MODULE_form_alter(&$form,...
View ArticleHow can I make hook_field_group_build_pre_render_alter Inline Entity Form...
I’m using hook_field_group_build_pre_render_alter to conditionally hide field group based on value of other field. It works fine on standard Drupal node edit form, but fails, when the node is opened...
View Articleinline entity form prevent reference entities to be created if the referenced...
I need to make created nodes via inline entity form not created or updated if the main form returns form error. The main reason for that is we make custom validation by doing some computation on child...
View ArticleInline entity form complex and cardinatlity
I am adding an ief type field to my form with the following $form['inline_entity_form'] = [ '#type' => 'inline_entity_form', '#op' => 'add', '#entity_type' => 'my_ent_type', '#bundle' =>...
View Articleautomatic node title with entity reference and inline entity form
I am trying to make a content type that would contain references to nodes by means of inline entity form. The child nodes are to be created only by means of inline entity form. I want the title field...
View Article